Zum testen: rentcar system

This commit is contained in:
Fabian
2021-05-02 22:53:53 +02:00
parent 60059f45d4
commit 98cd903f4c
13 changed files with 416 additions and 6 deletions

View File

@@ -127,6 +127,11 @@ namespace ReallifeGamemode.Server.Events
}
}
if (Rentcar.mapPlayerRentcarBill.ContainsKey(player.Name))
{
Rentcar.cancelRent(player);
}
//Vehicle LastVehicle = player.GetData<Vehicle>("LastVehicle");
JobBase job = JobManager.GetJob(player.GetUser().JobId ?? -1);
if (job != null)