mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +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
|
||||
|
||||
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 = {}
|
||||
|
||||
function cache:set(key, value)
|
||||
@@ -59,11 +45,6 @@ CreateThread(function()
|
||||
if num > 1 then
|
||||
cache.coords = GetEntityCoords(cache.ped)
|
||||
cache:getVehicle()
|
||||
-- if not cache.vehicle then
|
||||
-- cache:onFoot()
|
||||
-- else
|
||||
-- cache:inVehicle()
|
||||
-- end
|
||||
num = 0
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user