09.06.2012, 12:32
Код:
for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(GetPlayerVirtualWorld(i) == GetPlayerVirtualWorld(playerid)) { /* THIS */ new sTextChat[800]; format(sTextChat, sizeof(sTextChat), "%s: "#EMB_COLOR_WHITE"%s", name(playerid), text); SendClientMessageToAll(GetPlayerColor(playerid), sTextChat); /* THIS */ } return 0; } }