mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 17:28:53 +00:00
fix: esx_banking markers wont show
added playerloaded event so the thread starts on playerloaded so it will show for people.
This commit is contained in:
@@ -338,6 +338,10 @@ AddEventHandler('onResourceStart', function(resource)
|
||||
StartThread()
|
||||
end)
|
||||
|
||||
-- Enables it on player loaded
|
||||
RegisterNetEvent('esx:playerLoaded', function()
|
||||
StartThread()
|
||||
end)
|
||||
-- Resource stopping
|
||||
AddEventHandler('onResourceStop', function(resource)
|
||||
if resource ~= GetCurrentResourceName() then
|
||||
|
||||
Reference in New Issue
Block a user