16.03.2010, 18:22
Quote:
Originally Posted by ¤Adas¤
This will loop around all players, where "i" is their ID.
|
Код:
#define SERVER_MAX_PLAYERS 20 // example 20 is my server's max players...
Код:
for (new i=0; i<SERVER_MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) { SendClientMessage(playerid,0xAA000AA,"HAHA!"); } }