2 neue rentcars added
This commit is contained in:
@@ -33,6 +33,16 @@ namespace ReallifeGamemode.Server.Util
|
||||
private static double knastVehicleSpawnHeading = 173.14825;
|
||||
public static Vector3 knastBlipPosition = new Vector3(1220.3483, 2725.4932, 38.00414);
|
||||
|
||||
public static List<RentcarProperty> paletoVehicleProperties = new List<RentcarProperty>();
|
||||
private static Vector3 paletoVehicleSpawnPosition = new Vector3(-216.75778198242188, 6215.0068359375, 31.490657806396484);
|
||||
private static double paletoVehicleSpawnHeading = -133.99148559570312;
|
||||
public static Vector3 paletoBlipPosition = new Vector3(-214.52447509765625, 6218.1708984375, 31.49131965637207);
|
||||
|
||||
public static List<RentcarProperty> lamesaVehicleProperties = new List<RentcarProperty>();
|
||||
private static Vector3 lamesaVehicleSpawnPosition = new Vector3(811.4766235351562, -1041.594482421875, 26.58707618713379);
|
||||
private static double lamesaVehicleSpawnHeading = 88.71146392822266;
|
||||
public static Vector3 lamesaBlipPosition = new Vector3(818.3075561523438, -1039.78759765625, 26.750783920288086);
|
||||
|
||||
public static Dictionary<string, (Vehicle, int)> mapPlayerRentcarBill = new Dictionary<string, (Vehicle, int)>();
|
||||
|
||||
public static void Setup()
|
||||
@@ -45,6 +55,12 @@ namespace ReallifeGamemode.Server.Util
|
||||
|
||||
knastVehicleProperties.Add(new RentcarProperty("bmx", 10));
|
||||
knastVehicleProperties.Add(new RentcarProperty("faggio3", 50));
|
||||
|
||||
paletoVehicleProperties.Add(new RentcarProperty("bmx", 10));
|
||||
paletoVehicleProperties.Add(new RentcarProperty("faggio3", 50));
|
||||
|
||||
lamesaVehicleProperties.Add(new RentcarProperty("bmx", 10));
|
||||
lamesaVehicleProperties.Add(new RentcarProperty("faggio3", 50));
|
||||
}
|
||||
|
||||
public static void cancelRent(Player player)
|
||||
@@ -137,6 +153,14 @@ namespace ReallifeGamemode.Server.Util
|
||||
{
|
||||
v = NAPI.Vehicle.CreateVehicle(uHash, knastVehicleSpawnPosition, (float)knastVehicleSpawnHeading, 111, 111, engine: true);
|
||||
}
|
||||
else if (rentcarLocation == "paleto")
|
||||
{
|
||||
v = NAPI.Vehicle.CreateVehicle(uHash, paletoVehicleSpawnPosition, (float)paletoVehicleSpawnHeading, 111, 111, engine: true);
|
||||
}
|
||||
else if (rentcarLocation == "lamesa")
|
||||
{
|
||||
v = NAPI.Vehicle.CreateVehicle(uHash, lamesaVehicleSpawnPosition, (float)lamesaVehicleSpawnHeading, 111, 111, engine: true);
|
||||
}
|
||||
|
||||
if (v == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user