Test NoobVehicles

This commit is contained in:
Mac_Slash
2020-04-21 14:20:53 +02:00
parent a2fb8c531e
commit e98150e4c4
6 changed files with 63 additions and 8 deletions

View File

@@ -66,6 +66,14 @@ namespace ReallifeGamemode.Server.Extensions
{
numberplate = $"J{jV.JobId} " + numberplate;
}
if (veh is SchoolVehicle)
{
numberplate = "FS" + numberplate;
}
if (veh is NoobVehicle)
{
numberplate = "NV" + numberplate;
}
NAPI.Vehicle.SetVehicleNumberPlate(newVeh, numberplate);
veh.NumberPlate = numberplate;