Get passenger?
#2

pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_PASSENGER) //Check for passenger state
    {
        if(spec == 7)
        {
            //Your player is a passenger and there "spec" is 7
        }
    }
    return 1;
}
Reply


Messages In This Thread
Get passenger? - by ajwar - 08.01.2011, 16:46
Re: Get passenger? - by Ash. - 08.01.2011, 16:56

Forum Jump:


Users browsing this thread: 1 Guest(s)