Callbacks
CLIENT & SERVER SIDE
A standalone, framework-agnostic callback system designed to streamline client-server communication in FiveM projects.
It provides developers with a single, unified API for handling server callbacks, eliminating the need to write and manage multiple callback implementations for different frameworks.
Client Functions
callback
Trigger a server callback. All callbacks must be registered first on the server in order to be called.
Server Functions
register_callback
Use the following to register a callback on the server.
Last updated