Checking if a player exits a vehicle
#1

Why doesn't this work?

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT)
    {
        if(Checkpoint[playerid] != 0) //They're doing something..
        {
            PutPlayerInVehicle(playerid, GetPlayerVehicleID(playerid), 0);
        }
    }
    return true;
}
Reply


Messages In This Thread
Checking if a player exits a vehicle - by [WSE]Dave - 25.02.2012, 22:27
Re: Checking if a player exits a vehicle - by FalconX - 25.02.2012, 22:37
Re: Checking if a player exits a vehicle - by [WSE]Dave - 25.02.2012, 22:45
Re: Checking if a player exits a vehicle - by FalconX - 25.02.2012, 22:46

Forum Jump:


Users browsing this thread: 1 Guest(s)