[AJUDA]Comando RC
#6

Olhe o meu e tente refazer:
pawn Код:
CMD:rcspawn(playerid)
{
    if(Guardiao(playerid) || Admin(playerid))
    {
        static bool:PlayerInVehicleSpawn = false, Alee_String[100];
        Loop(veh,sizeof(CarrosSpawn))
        {
            PlayerInVehicleSpawn = false;
            Loop(i, MAX_PLAYERS)
            {
                if(IsPlayerInVehicle(i, veh)) PlayerInVehicleSpawn = true;
                if(!PlayerInVehicleSpawn) SetVehicleToRespawn(veh);
            }
        }
        format(Alee_String,100,"[ {F60000}RESPAWN VEICULOS{FFFFFF} ] O administrador %s respawnou os veнculos do spawn.",
            PlayerName(playerid));
        SendClientMessageToAll(-1,Alee_String);
    }
    return true;
}
Reply


Messages In This Thread
[AJUDA]Comando RC - by ReDKiiL - 30.06.2012, 21:11
Re: [AJUDA]Comando RC - by ViniBorn - 30.06.2012, 21:14
Re: [AJUDA]Comando RC - by ReDKiiL - 30.06.2012, 21:18
Re: [AJUDA]Comando RC - by .FuneraL. - 30.06.2012, 21:22
Re: [AJUDA]Comando RC - by ReDKiiL - 30.06.2012, 21:26
Re: [AJUDA]Comando RC - by Abravanel - 30.06.2012, 21:28
Re: [AJUDA]Comando RC - by ReDKiiL - 30.06.2012, 21:36
Re: [AJUDA]Comando RC - by leonardo1434 - 30.06.2012, 21:42
Re: [AJUDA]Comando RC - by ReDKiiL - 30.06.2012, 22:05
Re: [AJUDA]Comando RC - by leonardo1434 - 30.06.2012, 22:08

Forum Jump:


Users browsing this thread: 1 Guest(s)