[ajuda] Get
#4

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
exemplo:
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys & KEY_FIRE)
    {
        new
            veiculo = GetPlayerVehicleID(playerid)
        ;
        if(veiculo)
        {
            AddVehicleComponent(veiculo, 1010);
        }
    }
    return 1;
}
Reply


Messages In This Thread
[ajuda] Get - by Cristhian - 25.09.2011, 18:40
Re: [ajuda] Get - by [NWD]Jim._.Carrey - 25.09.2011, 18:41
Re: [ajuda] Get - by Cristhian - 25.09.2011, 18:45
Re: [ajuda] Get - by [NWD]Jim._.Carrey - 25.09.2011, 18:47
Re: [ajuda] Get - by Cristhian - 25.09.2011, 18:50
Re: [ajuda] Get - by [NWD]Jim._.Carrey - 25.09.2011, 18:51
Re: [ajuda] Get - by Izaac Abreu - 25.09.2011, 20:47

Forum Jump:


Users browsing this thread: 3 Guest(s)