[FilterScript] Player online count+record of players
#9

You are already doing that with the PlayerCount variable, raising it @ OnPlayerConnect and decrease @OnPlayerDisconnect. It's just that the function "ConnectingOfPlayer()" is useless since it will return the same number as the PlayerCount-variable already has...


..also the code at OnPlayerSpawn is useless and will just annoy the players each time a player dies and spawns.


..also why do you reset the record in the file when the script starts? What would be the point of saving the number in the file if you reset it anyway?
Reply


Messages In This Thread
Player online count+record of players - by Kruno88 - 22.02.2015, 19:19
Re: Player online count+record of players - by Glossy42O - 22.02.2015, 19:34
Re: Player online count+record of players - by Kruno88 - 22.02.2015, 19:45
Re: Player online count+record of players - by DRIFT_HUNTER - 22.02.2015, 19:49
Re: Player online count+record of players - by MohanedZzZ - 22.02.2015, 20:08
Re: Player online count+record of players - by Steel_ - 22.02.2015, 20:13
Re: Player online count+record of players - by Schneider - 22.02.2015, 20:28
Re: Player online count+record of players - by Kruno88 - 22.02.2015, 20:53
Re: Player online count+record of players - by Schneider - 22.02.2015, 21:06
Re: Player online count+record of players - by Kruno88 - 22.02.2015, 21:10

Forum Jump:


Users browsing this thread: 3 Guest(s)