1
0
Fork 0
forked from Simnation/Main

resources/[jobs]/[civ]/mh_jobgarage/client/function.lua aktualisiert

This commit is contained in:
Miho 2025-06-24 23:24:10 +02:00
parent 49bcb83d1b
commit c48073ce09

View file

@ -35,10 +35,11 @@ function IsVehicleSpawned(plate)
for _, vehicle in ipairs(vehicles) do
if DoesEntityExist(vehicle) then
local vehiclePlate = QBCore.Functions.GetPlate(vehicle)
local mods = QBCore.Functions.GetVehicleProperties(vehicle)
local vehiclePlate = mods.plate
if vehiclePlate == plate then
print("Function: "..mods)
return true, mods
end
end