public LocationSetUnit(LocationSets typeoflocationsetid, string number, string description, long?organizationunitid) { TypeOfLocationSetId = typeoflocationsetid; Number = number; Description = description; OrganizationUnitId = organizationunitid; }
public Ponsonby() { base.type = "Ponsonby"; base.cashierModel = PedHash.Hotposh01; base.crewSize = 1; base.length = 15000; base.size = Size.SMALL; base.timeRestriction = Time.DAY_ONLY; base.levelNumber = 4; base.locationSet = LocationSets.getIncompleteLocationSetByType(base.type); base.valueLower = 25000; base.valueUpper = 30000; }
public LiquorStore() { base.type = "Liquor Store"; base.cashierModel = PedHash.ShopKeep01; base.crewSize = 1; base.length = 15000; base.size = Size.SMALL; base.timeRestriction = Time.ANY; base.levelNumber = 1; base.locationSet = LocationSets.getIncompleteLocationSetByType(base.type); base.valueLower = 500; base.valueUpper = 1000; }
// Main - Constructor public Main() { resetAll(); Function.Call(Hash.SET_CREATE_RANDOM_COPS, true); LocationSets.setupLocationSets(); setupPhone(); this.Tick += onTick; this.KeyUp += onKeyUp; this.KeyDown += onKeyDown; if (Game.Player.Character.CurrentVehicle != null && Game.Player.Character.CurrentVehicle.IsStolen) { eligibleVehicles.Add(Game.Player.Character.CurrentVehicle); } UI.Notify("Scripts loaded."); }