mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
fix and oopsie
This commit is contained in:
1 file changed
+3
@@ -172,6 +172,7 @@ Prevents players from purchasing items at General stores.
|
||||
|
||||
**Example:**
|
||||
|
||||
```lua
|
||||
local hookId = exports.ox_inventory:registerHook('craftItem', function(payload)
|
||||
print(json.encode(payload, { indent = true, sort_keys = true }))
|
||||
return false
|
||||
@@ -182,6 +183,8 @@ end, {
|
||||
},
|
||||
})
|
||||
|
||||
```
|
||||
|
||||
Prevent lockpicks from being crafted by players.
|
||||
|
||||
## removeHooks
|
||||
|
||||
Reference in new issue
Block a user