Merge pull request #104 from NRTnarathip/patch-8

Fix Error: esx_garage when player enter to zone
This commit is contained in:
Mycroft
2022-02-18 16:15:58 +00:00
committed by GitHub
+3 -1
View File
@@ -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)