mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
move delete ped loop out of another loop
This commit is contained in:
@@ -248,10 +248,10 @@ function GenerateRandomPedData(data)
|
||||
end
|
||||
|
||||
onPlayerUnloaded(function()
|
||||
for i = 1, #distPeds do
|
||||
for k in pairs(Peds) do
|
||||
DeletePed(Peds[k])
|
||||
end
|
||||
for i = 1, #distPeds do
|
||||
removeZoneTarget(distPeds[i])
|
||||
end
|
||||
distPeds = {}
|
||||
|
||||
Reference in New Issue
Block a user