20.02.2015, 07:12
(
Последний раз редактировалось Etolas; 20.02.2015 в 16:48.
)
Quote:
You're doing 2 different things, in the first code you send a message to the player, where in the second you send a message to 500 player ID's.
You should use SendClientMessageToAll instead of a loop, but still it's useless, as people aren't on when you have just started the gamemode. |
Quote:
The differents between this two timers that in the second code you using loop to send all players.
better thing to do is Код:
for(new i=0; i < MAX_PLAYERS+1; i++) { if(IsPlayerConnected(i)) { //Sending the message } } |