14.06.2011, 01:21
Galera tф com um problema aqui quando uzo /trazerbopes e /trazercvs o server fecha :/ serб que poderiгo me ajudar ?
Код:
if(strcmp(cmd, "/trazercvs", true) == 0) { new Float:PlayerPos[3]; GetPlayerPos(playerid,PlayerPos[0],PlayerPos[1],PlayerPos[2]); for(new x = 0, y = GetMaxPlayers(); x != y; x++) { if(PlayerInfo[playerid][pCV] >= 5) { SetPlayerPos(x,PlayerPos[0],PlayerPos[1],PlayerPos[2]); } } { format(string, sizeof(string), "Adm.Cmd: %s trouxe todos os CVS.", sendername); SendClientMessageToAll(COLOR_ADM, string); } return 1; } if(strcmp(cmd, "/trazerbopes", true) == 0) { new Float:PlayerPos[3]; GetPlayerPos(playerid,PlayerPos[0],PlayerPos[1],PlayerPos[2]); for(new x = 0, y = GetMaxPlayers(); x != y; x++) { if(PlayerInfo[playerid][pBOPE] >= 5) { SetPlayerPos(x,PlayerPos[0],PlayerPos[1],PlayerPos[2]); } } { format(string, sizeof(string), "Adm.Cmd: %s trouxe todos os BOPE."); SendClientMessageToAll(COLOR_ADM, string); } return 1; }