0.4.0 => 0.5.0
This commit is contained in:
@ -48,6 +48,7 @@ namespace CoopClient
|
||||
|
||||
public bool IsInVehicle { get; set; }
|
||||
public int VehicleModelHash { get; set; }
|
||||
private int[] LastVehicleColors = new int[] { 0, 0 };
|
||||
public int[] VehicleColors { get; set; }
|
||||
private Dictionary<int, int> LastVehicleMods = new Dictionary<int, int>();
|
||||
public Dictionary<int, int> VehicleMods { get; set; }
|
||||
@ -308,8 +309,13 @@ namespace CoopClient
|
||||
MainVehicle.Repair();
|
||||
}
|
||||
|
||||
if (VehicleColors != LastVehicleColors)
|
||||
{
|
||||
Function.Call(Hash.SET_VEHICLE_COLOURS, MainVehicle, VehicleColors[0], VehicleColors[1]);
|
||||
|
||||
LastVehicleColors = VehicleColors;
|
||||
}
|
||||
|
||||
// Only works for "Pfister Comet Safari"??
|
||||
if (VehicleMods != LastVehicleMods)
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ namespace CoopClient
|
||||
|
||||
private bool GameLoaded = false;
|
||||
|
||||
public static readonly string CurrentModVersion = "V0_4_0";
|
||||
public static readonly string CurrentModVersion = "V0_5_0";
|
||||
|
||||
public static bool ShareNpcsWithPlayers = false;
|
||||
public static bool NpcsAllowed = false;
|
||||
|
@ -21,7 +21,7 @@ namespace CoopServer
|
||||
|
||||
class Server
|
||||
{
|
||||
public static readonly string CurrentModVersion = "V0_4_0";
|
||||
public static readonly string CurrentModVersion = "V0_5_0";
|
||||
|
||||
public static readonly Settings MainSettings = Util.Read<Settings>("CoopSettings.xml");
|
||||
private readonly Blocklist MainBlocklist = Util.Read<Blocklist>("Blocklist.xml");
|
||||
|
Reference in New Issue
Block a user