mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
refactor(resource/cache): remove commented code
Probably won't use this, but if I do then I'll add it when appropriate.
This commit is contained in:
19
resource/cache/client.lua
vendored
19
resource/cache/client.lua
vendored
@@ -24,20 +24,6 @@ function cache:getVehicle()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function cache:onFoot()
|
|
||||||
-- todo
|
|
||||||
-- print('on foot')
|
|
||||||
end
|
|
||||||
|
|
||||||
function cache:inVehicle()
|
|
||||||
-- todo
|
|
||||||
if self.driver then
|
|
||||||
-- print('driving vehicle')
|
|
||||||
else
|
|
||||||
-- print('in vehicle')
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
local update = {}
|
local update = {}
|
||||||
|
|
||||||
function cache:set(key, value)
|
function cache:set(key, value)
|
||||||
@@ -59,11 +45,6 @@ CreateThread(function()
|
|||||||
if num > 1 then
|
if num > 1 then
|
||||||
cache.coords = GetEntityCoords(cache.ped)
|
cache.coords = GetEntityCoords(cache.ped)
|
||||||
cache:getVehicle()
|
cache:getVehicle()
|
||||||
-- if not cache.vehicle then
|
|
||||||
-- cache:onFoot()
|
|
||||||
-- else
|
|
||||||
-- cache:inVehicle()
|
|
||||||
-- end
|
|
||||||
num = 0
|
num = 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user