Commands

CLIENT & SERVER SIDE

Standalone, framework-agnostic solution designed to simplify the implementation of commands in your project. Uses SQL-based ranks to define access permissions. Commands can be assigned to specific ranks or left open (nil) for universal access.

Eliminates the need to define and maintain multiple command sets for different frameworks, offering developers a unified and centralized approach to command handling.

Client Functions

get_chat_suggestions

Manually get chat suggestions if required.

Function

local function get_chat_suggestions()
    TriggerServerEvent('boii_utils:sv:request_chat_suggestions')
end

exports('get_chat_suggestions', get_chat_suggestions)
utils.commands.get_chat_suggestions = get_chat_suggestions

Example

--- Utils object
utils.commands.get_chat_suggestions()

--- Direct export
exports.boii_utils:get_chat_suggestions()

Server Functions

Last updated