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 22:53:31 +02:00
parent 6d6d62dffe
commit dcf5638188

View file

@ -32,7 +32,7 @@ end)
function IsVehicleSpawned(plate)
plate = string.gsub(string.upper(plate), '^%s*(.-)%s*$', '%1'):gsub(' ', '')
local vehicles = GetAllVehicles()
local vehicles = GetGamePool('CVehicle')
for _, vehicle in ipairs(vehicles) do
if DoesEntityExist(vehicle) then