09.03.2015, 20:38
use SendClientMessageToAll(-1, "message here");
this will send to all players Much better than SendClientMessage if you want it to go to ALL players.
If you want it to go to more than one person but not all players, use SendClientMessage in a loop, where the loop will go through all players and use an if statement to determine if it should send the message to them
this will send to all players Much better than SendClientMessage if you want it to go to ALL players.
If you want it to go to more than one person but not all players, use SendClientMessage in a loop, where the loop will go through all players and use an if statement to determine if it should send the message to them
Код:
hello(string[]) { SendClientMessageToAll(-1,string); }