1
0
Fork 0
forked from Simnation/Main

Update functions.lua

This commit is contained in:
Nordi98 2025-06-29 04:47:19 +02:00
parent ddbaa658a0
commit 94ff01d89d

View file

@ -96,7 +96,7 @@ spawnVehicle = function(model, coords, plate)
SetVehicleNeedsToBeHotwired(veh, false) SetVehicleNeedsToBeHotwired(veh, false)
SetVehRadioStation(veh, 'OFF') SetVehRadioStation(veh, 'OFF')
SetVehicleFuelLevel(veh, 100.0) SetVehicleFuelLevel(veh, 100.0)
SetVehicleNumberPlateText(veh, plate or 'PDM') SetVehicleNumberPlateText(veh, plate or 'DEALER')
SetModelAsNoLongerNeeded(model) SetModelAsNoLongerNeeded(model)
local plate = Config.framework == 'qbx' and qbx.getVehiclePlate(veh) or GetVehicleNumberPlateText(veh) local plate = Config.framework == 'qbx' and qbx.getVehiclePlate(veh) or GetVehicleNumberPlateText(veh)
if Config.keys == 'qs-vehiclekeys' then if Config.keys == 'qs-vehiclekeys' then