mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-18 06:26:01 +01:00
Add cleanup of targets when switching players
This commit is contained in:
@@ -247,7 +247,7 @@ function GenerateRandomPedData(data)
|
||||
return newTable
|
||||
end
|
||||
|
||||
onPlayerUnloaded(function()
|
||||
onPlayerUnload(function()
|
||||
for k in pairs(Peds) do
|
||||
DeletePed(Peds[k])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user