Hello.
I want to make that accession player count server capacity increased and decreased when it is turned off. So no results, hat am I doing wrong? © Translate Google, bad Eng, ThxCode:PLUGIN.Title = "None" PLUGIN.Description = "None" PLUGIN.Version = V(1, 4, 17) PLUGIN.Author = "Anonymous" PLUGIN.ResourceId = 660cout=120;function PLUGIN:OnUserConnect( networkplayer ) rust.RunServerCommand("server.MaxPlayers", cout+1) endfunction PLUGIN:OnUserDisconnect( networkplayer ) rust.RunServerCommand("server.MaxPlayers", cout-1) end
Increasing max players when a player connects?
Discussion in 'Rust Development' started by SiblinngVV, Aug 29, 2015.
-
Wulf Community Admin
That doesn't sound like a legitimate usage.
-
[DOUBLEPOST=1440820139][/DOUBLEPOST]
joke.
In fact, this team has been taken by accident, I did not think that you notice illegal desires. Help me, I'm the third day I sit on this project. Need just a connection \ diskonnection + RCON commands -
Wulf Community Admin
-
Code:
namespace Oxide.Plugins { [Info("WTF", "11", "1.1.1")] class WTF : RustPlugin { int cout=8; void OnPlayerConnected(Network.Message packet) { ConsoleSystem.Run.Server.Normal("env.time", cout); } } }
Last edited by a moderator: Aug 29, 2015