diff --git a/docs/ox_core/Player/Client/callbacks.md b/docs/ox_core/Player/Client/callbacks.md new file mode 100644 index 00000000..4b6de8ea --- /dev/null +++ b/docs/ox_core/Player/Client/callbacks.md @@ -0,0 +1,19 @@ +--- +title: Callbacks +--- + +### ox:getStatus + +Triggered after a player has selected a character. + +```lua +lib.callback.await('ox:getStatus', delay, targetId, statusName) +``` + +- delay: `number` + - Prevents the callback from triggering for the time given in ms. +- targetId: `number` + - The server id for the player to get statuses for. +- statusName?: `string` + - The name of the status (i.e. hunger). Can be omitted to return all statuses. +