08.06.2012, 23:19
Error:
Line:
Part of script. it's in OnPlayerText
Код:
syntax error in the expression, or invalid function call
Код:
format(string, sizeof(string), "%s: %s", name, playerid, text);
Код:
for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(GetPlayerVirtualWorld(i) == GetPlayerVirtualWorld(playerid)) { format(string, sizeof(string), "%s: %s", name, playerid, text); SendClientMessageToAll(GetPlayerColor(playerid), string); return 0; } return 0; } }