Exemplo n.º 1
0
 public LocationSetUnit(LocationSets typeoflocationsetid, string number, string description, long?organizationunitid)
 {
     TypeOfLocationSetId = typeoflocationsetid;
     Number             = number;
     Description        = description;
     OrganizationUnitId = organizationunitid;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
 // 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.");
 }