[Ajuda] Comandos
#6

Dб uma testada aн

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new vehicleid;
    if(oldstate == PLAYER_STATE_DRIVER)
    {
        if(!(Carro[0] < vehicleid < Carro[7])){
       
            if(Profissao[playerid] != Profissao[playerid]){
           
                SendClientMessage(playerid, Chat, "[ > ] Vocк nгo tem permissгo para usar esse carro");
                RemovePlayerFromVehicle(playerid);
               
            }
        }

    }
    return 1;
}
Reply


Messages In This Thread
Comandos - by Ts3 - 09.08.2014, 22:48
Re: Comandos - by zSuYaNw - 09.08.2014, 22:54
Re: Comandos - by Ts3 - 09.08.2014, 23:49
Re: Comandos - by zSuYaNw - 10.08.2014, 03:13
Re: Comandos - by Ts3 - 10.08.2014, 03:56
Re: Comandos - by zSuYaNw - 10.08.2014, 03:59
Re: Comandos - by Ts3 - 11.08.2014, 01:19
Re: Comandos - by ViniBorn - 11.08.2014, 01:29
Re: Comandos - by Ts3 - 11.08.2014, 19:42

Forum Jump:


Users browsing this thread: 2 Guest(s)