22.02.2015, 21:10
Quote:
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. |
OnPlayerSpawn funcion is just an example of a proper use of it.