mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 00:01:20 +00:00
Merge remote-tracking branch 'iamilia/main' into dev
This commit is contained in:
@@ -26,9 +26,9 @@ end
|
||||
|
||||
---@param name string | table
|
||||
---@param group string | table
|
||||
---@param cb function
|
||||
---@param cb fun(xPlayer : xPlayer|false, args : table, showError :function )
|
||||
---@param allowConsole? boolean
|
||||
---@param suggestion? table
|
||||
---@param suggestion? {help:string, validate:boolean, arguments:{name:string, validate:boolean, help:string, type:'number'|'string'|'player'|'coordinate'|'playerId'|'item'|'weapon'|'any'|'merge'}[]}
|
||||
function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion)
|
||||
if type(name) == "table" then
|
||||
for _, v in ipairs(name) do
|
||||
|
||||
Reference in New Issue
Block a user