Initial commit for player keys

This commit is contained in:
VegaZ
2018-09-29 00:07:36 +02:00
parent 5ea4612873
commit 9f33cfbd89
7 changed files with 91 additions and 10 deletions

View File

@@ -50,7 +50,7 @@ namespace reallife_gamemode.Server.Events
}
public static void SaveVehicleData(VehicleHash vehicleModel, Vector3 vehiclePosition, float vehicleHeading,
string vehicleNumberPlate, byte vehiclePrimaryColor, byte vehicleSecondaryColor, bool vehicleLocked, bool vehicleEngine, byte vehicleDimension)
string vehicleNumberPlate, byte vehiclePrimaryColor, byte vehicleSecondaryColor, bool vehicleLocked, byte vehicleDimension)
{
using (var saveData = new Model.DatabaseContext())
{
@@ -65,7 +65,7 @@ namespace reallife_gamemode.Server.Events
PrimaryColor = vehiclePrimaryColor,
SecondaryColor = vehicleSecondaryColor,
Locked = vehicleLocked,
Engine = vehicleEngine,
Engine = false,
Dimension = vehicleDimension,
Active = true
};