refactor: change event names from lualib to ox_lib

This commit is contained in:
Linden
2022-03-13 03:21:01 +00:00
parent f40accd9e8
commit 13c8c29811
3 changed files with 3 additions and 3 deletions

View File

@@ -186,7 +186,7 @@ Citizen.CreateThreadNow(function()
end
end)
AddEventHandler('lualib:updateCache', function(data)
AddEventHandler('ox_lib:updateCache', function(data)
for key, value in pairs(data) do
cache[key] = value

View File

@@ -54,7 +54,7 @@ CreateThread(function()
-- end
if next(update) then
TriggerEvent('lualib:updateCache', update)
TriggerEvent('ox_lib:updateCache', update)
table.wipe(update)
end

View File

@@ -1,4 +1,4 @@
RegisterNetEvent('lualib:setVehicleProperties', function(netid, data)
RegisterNetEvent('ox_lib:setVehicleProperties', function(netid, data)
lib.setVehicleProperties(NetToVeh(netid), data)
end)