25.02.2012, 22:27
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;
}