Where to add code :/
#5

Inside OnPlayerChangeState
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER)
    {
        if(GetPlayerVehicleID(playerid) != 481)
        {
            // ure code
        }
    }
    return 1;
}
Reply


Messages In This Thread
Where to add code :/ - by Lajko1 - 08.12.2013, 22:38
Re: Where to add code :/ - by EmilLykke - 08.12.2013, 23:02
Re: Where to add code :/ - by Padevex - 08.12.2013, 23:54
Re: Where to add code :/ - by Lajko1 - 09.12.2013, 10:30
Re: Where to add code :/ - by newbie scripter - 09.12.2013, 10:51
Re: Where to add code :/ - by Lajko1 - 09.12.2013, 13:14
Re: Where to add code :/ - by newbie scripter - 09.12.2013, 13:19

Forum Jump:


Users browsing this thread: 3 Guest(s)