[Ajuda] Adicionar carros ao job
#3

Pode fazer algo do gйnero:
pawn Код:
#define Prof (1)

static
    emp[MAX_PLAYERS],
    vProf1[3],
    vInfo;

//OnGameModeInit
vProf[0] = ...
vProf[1] = ...
vProf[2] = ...

//Lб na public
vInfo = GetPlayerVehicleID(playerid);

if(vInfo == vProf[0] || vInfo == vProf[1] || vInfo == vProf[2])
{
    if(emp[playerid] != Prof)
        return SendClientMessage(playerid, -1, "Nгo pode usar!");

    //Se for da org
    return true;
}
Reply


Messages In This Thread
[Ajuda] Adicionar carros ao job - by Slayer1 - 25.02.2012, 12:31
Re: [Ajuda] Adicionar carros ao job - by andmeida10 - 25.02.2012, 12:42
Re: [Ajuda] Adicionar carros ao job - by Dreppins_Coodaaw - 25.02.2012, 13:01
Re: [Ajuda] Adicionar carros ao job - by Slayer1 - 25.02.2012, 15:04
Re: [Ajuda] Adicionar carros ao job - by andmeida10 - 25.02.2012, 15:40

Forum Jump:


Users browsing this thread: 1 Guest(s)