14.09.2012, 16:00
@EDIT:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER && GetPlayerScore(playerid) < 5) //Jogador a pй muda para condutor de veiculo
{
RemovePlayerFromVehicle(playerid);
}
return 1;
}