mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 15:01:26 +00:00
Merge pull request #104 from NRTnarathip/patch-8
Fix Error: esx_garage when player enter to zone
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
local LastGarage, LastPart, LastParking, thisGarage = nil, nil, nil, nil
|
||||
|
||||
TriggerEvent('instance:registerType', 'garage')
|
||||
AddEventHandler('instance:loaded', function()
|
||||
TriggerEvent('instance:registerType', 'garage')
|
||||
end)
|
||||
|
||||
RegisterNetEvent('instance:onCreate')
|
||||
AddEventHandler('instance:onCreate', function(instance)
|
||||
|
||||
Reference in New Issue
Block a user