fix taksi
This commit is contained in:
@@ -413,6 +413,11 @@ namespace ReallifeGamemode.Server.Managers
|
||||
var taxiJob = JobManager.GetJob<TaxiDriverJob>();
|
||||
|
||||
Player driver = veh.GetDriver();
|
||||
if (driver == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!driver.HasData("DriverPrice")) return;
|
||||
int taxiPrice = driver.GetData<int>("DriverPrice");
|
||||
float km = 0;
|
||||
|
||||
Reference in New Issue
Block a user