21.10.2011, 18:56
pawn Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
if(newstate == PLAYER_STATE_DRIVER && GetVehicleModel(GetPlayerVehicle(playerid)) == 432 || GetVehicleModel(GetPlayerVehicle(playerid)) == 425)
{
if(GetPlayerScore(playerid) < 500)
{
RemovePlayerFromVehicle(playerid);
}
}
return 1;
}