18.04.2015, 15:11
Use OnPlayerStateChange, instead, with your codes
pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT)
{
}
}