[Ajuda] ...
#3

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
Reply


Messages In This Thread
... - by Douglas651 - 23.08.2013, 22:01
Re: ... - by DannielCooper - 23.08.2013, 22:08
Re: ... - by Douglas651 - 23.08.2013, 22:13
Re: ... - by PT - 23.08.2013, 22:27
Re: ... - by Douglas651 - 24.08.2013, 17:04

Forum Jump:


Users browsing this thread: 1 Guest(s)