Consistent indentation and remove some files

Mixing tabs and spaces when embedding Lua can easily break MDX syntax.
This commit is contained in:
Linden committed 2022-04-29 15:39:04 +10:00
1 parent b87ef48d2e
commit 6bead3ca32
21 files changed
+146 -240

No files matched your search

+5 -5
View File
@@ -7,19 +7,19 @@ https://github.com/overextended/ox_lib/blob/master/resource/cache/client.lua
## States
```lua
cache.ped -- player entity id
cache.vehicle -- vehicle entity id
cache.seat -- vehicle seat index
cache.ped -- player entity id
cache.vehicle -- vehicle entity id
cache.seat -- vehicle seat index
```
## lib.onCache
Register a callback function when the value is changed.
```lua
lib.onCache('vehicle', function(value)
print('vehicle', value)
print('vehicle', value)
end)
lib.onCache('seat', function(value)
print('seat', value)
print('seat', value)
end)
```