public static int CreatePoliceStation(Vector3 position, float heading, PoliceStationIds policeStationId) { int newPoliceStationId = Function.Call <int>(Hash.ADD_POLICE_RESTART, position.X, position.Y, position.Z, heading, (int)policeStationId); CustomPoliceStations.Add(newPoliceStationId); return(newPoliceStationId); }
public static void DisablePoliceStation(PoliceStationIds policeStationId) { Function.Call(Hash.DISABLE_POLICE_RESTART, (int)policeStationId, true); }