mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 18:58:54 +00:00
Fixed restarting scripts no blips, closes #15
This commit is contained in:
+3
-5
@@ -159,7 +159,9 @@ function LoadSql()
|
||||
roomMenu = roomMenu,
|
||||
price = properties[i].price
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
TriggerClientEvent('esx_property:broadcastProperties', -1, Config.Properties)
|
||||
end)
|
||||
end
|
||||
|
||||
@@ -415,10 +417,6 @@ AddEventHandler('esx_property:putItem', function(owner, type, item, count)
|
||||
|
||||
end)
|
||||
|
||||
ESX.RegisterServerCallback('esx_property:getProperties', function(source, cb)
|
||||
cb(Config.Properties)
|
||||
end)
|
||||
|
||||
ESX.RegisterServerCallback('esx_property:getOwnedProperties', function(source, cb)
|
||||
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
|
||||
Reference in New Issue
Block a user