[Ajuda] Comandos
#5

Certo estб tudo certo com a primeira ajuda, essa segunda pode me ajudar tambйm?

PS: Esse seu cуdigo do cp estб funcionando..

Cуdigo

pawn Код:
new Carro[8];

public OnFilterScriptInit()
{
 Carro[0] = AddStaticVehicle(428,1774.8734,-1702.2725,13.6294,359.9309,0,0);
 Carro[1] = AddStaticVehicle(428,1782.8901,-1702.1434,13.6302,0.4223,0,0);
 Carro[2] = AddStaticVehicle(428,1807.4386,-1708.0154,13.6709,90.7226,0,0);
 Carro[3] = AddStaticVehicle(428,1774.6498,-1690.5526,13.5570,180.3277,0,0);
 Carro[4] = AddStaticVehicle(428,1783.2854,-1690.4011,13.5662,179.3017,0,0);
 Carro[5] = AddStaticVehicle(428,1793.0089,-1690.3987,13.5979,179.2736,0,0);
 Carro[6] = AddStaticVehicle(428,1794.7051,-1701.2280,13.6554,359.6884,0,0);
 Carro[7] = AddStaticVehicle(428,1806.7419,-1703.1401,13.6693,90.1741,0,0);
 return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new vehicleid;
    if(oldstate == PLAYER_STATE_DRIVER)
    if(GetVehicleModel(vehicleid) == 428)
    if(Profissao[playerid] != Profissao[playerid])
    SendClientMessage(playerid, Chat, "[ > ] Vocк nгo tem permissгo para usar esse carro");
    RemovePlayerFromVehicle(playerid);
    return 1;
}
Quando eu entro no carro sou removido sendo que eu estou com a profissгo..
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: 1 Guest(s)