Update callbacks.md

This commit is contained in:
Linden authored and GitHub committed 2022-11-29 17:26:34 +11:00
1 parent d4138754a6
commit e608b702f4
1 file changed
-3
-3
View File
@@ -4,14 +4,11 @@ title: Callbacks
### ox:getStatus ### ox:getStatus
Triggered after a player has selected a character.
```lua ```lua
lib.callback.await('ox:getStatus', delay, targetId, statusName) lib.callback.await('ox:getStatus', delay, targetId, statusName)
``` ```
- delay: `number` - delay: `number`
- Prevents the callback from triggering for the time given in ms.
- targetId: `number` - targetId: `number`
- The server id for the player to get statuses for. - The server id for the player to get statuses for.
- statusName?: `string` - statusName?: `string`