add option to stop job, enable engine of job vehicle only when player is in job
This commit is contained in:
@@ -30,6 +30,9 @@ namespace ReallifeGamemode.Server.Entities
|
||||
[NotMapped]
|
||||
public Vector3 Position => new Vector3(PositionX, PositionY, PositionZ);
|
||||
|
||||
[NotMapped]
|
||||
public Vehicle Vehicle => VehicleManager.GetVehicleFromServerVehicle(this);
|
||||
|
||||
public Vehicle Spawn(Vehicle currentVeh = null)
|
||||
{
|
||||
if (currentVeh != null) VehicleManager.DeleteVehicle(currentVeh);
|
||||
|
||||
Reference in New Issue
Block a user