Quote:
Originally Posted by DannielCooper
Testa aк.
OBS: aind mexi no code, pois oque vocк postou, mesmo sendo menor que o level 4, poderia respawnar.
pawn Код:
if (strcmp (cmd,"/respawnall",true) == 0 ) { if(GetPlayerLevel(playerid) < 4) return SendClientMessage(playerid,0xDEEE20FF,"Admin: Vocк nгo tem Nivel Necessбrio para usar este comando"); return 1; } if(GetPlayerLevel(playerid) >= 4) { new bool:unwanted[MAX_VEHICLES]; for(new player=0; player<MAX_PLAYERS; ++ i) { if(IsPlayerConnected(player) && IsPlayerInAnyVehicle(player)) SendClientMessage(playerid, 0xFFFFFFFF, "Admin:Todos Os Veнculos Desocupados Foram Respawnados!"); return 1; } return 1; }
|
C:\Users\Douglas Cabral\Desktop\Servidores\Servidor Samp 0.3x\gamemodes\Brasil Morte Certa\filterscripts\sbadmin.pwn(1253) : error 017: undefined symbol "i"
C:\Users\Douglas Cabral\Desktop\Servidores\Servidor Samp 0.3x\gamemodes\Brasil Morte Certa\filterscripts\sbadmin.pwn(1259) : warning 217: loose indentation
C:\Users\Douglas Cabral\Desktop\Servidores\Servidor Samp 0.3x\gamemodes\Brasil Morte Certa\filterscripts\sbadmin.pwn(1252) : warning 204: symbol is assigned a value that is never used: "unwanted"
Deu Essas 2 Warnings ai o e esses erros