Wrapper Functions
wrapperfunctions.lua
Provides wrapper compatibility functions for command and inventory stash systems across different frameworks (OX, QB, ESX, QS, etc).
registerCommand(command, options)
Server Side Only
Registers a command using the appropriate framework's API.
Parameters:
command
: Command name (string)options
: Table including help, params, callback, autocomplete, restrictedGroup
Example:
registerStash(name, label, slots?, weight?, owner?, coords?)
Server Side Only
Registers a stash using OX, QS, or Origen inventory systems.
Example:
Last updated