02.02.2009, 12:48
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER) { if(GetVehicleModel(GetPlayerVehicleID(playerid)) == pd car id) { if(whatever defines them as a cop e.g. !IsACop(playerid)) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, w/e color, "This car belongs to the FBI"); } } } return 1; }