[Ajuda] Jobs
#4

pawn Код:
new veiculoruas[3];

veiculoruas[0] = CreateVehicle ....
veiculoruas[1] = CreateVehicle ....
veiculoruas[2] = CreateVehicle ....

// OnPlayerStateChange
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
    new vid = GetPlayerVehicleID(playerid);
    if(vid = veiculoruas[0] || vid = veiculoruas[1] || vid = veiculoruas[2]){
        if( var do emprego desejado ){
             // se ele for do emprego
        }
        else{
            RemovePlayerFromVehicle(playerid);
            SendClientMessage(playerid, -1, " Obs: vocк nгo e do emprego x");
        }
    }
Toma como exemploo
Reply


Messages In This Thread
Jobs - by brunoboy - 18.01.2013, 15:43
Re: Jobs - by [BCV]Dr.House_. - 18.01.2013, 15:45
Re: Jobs - by brunoboy - 18.01.2013, 15:50
Re: Jobs - by [BCV]Dr.House_. - 18.01.2013, 15:58
Re: Jobs - by brunoboy - 18.01.2013, 16:01
Re: Jobs - by Maklister - 18.01.2013, 16:04
Re: Jobs - by brunoboy - 18.01.2013, 16:09
Re: Jobs - by tonisantolia - 18.01.2013, 16:32

Forum Jump:


Users browsing this thread: