Skip to content

Commit

Permalink
fix: onSetMetaData params (#14)
Browse files Browse the repository at this point in the history
* Update onSetMetaData

* param order

* Update pages/resources/qbx_core/events/server.mdx

Co-authored-by: David Malchin <[email protected]>

---------

Co-authored-by: David Malchin <[email protected]>
  • Loading branch information
TonybynMp4 and D4isDAVID authored Feb 6, 2024
1 parent 998bd71 commit 8800dd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/resources/qbx_core/events/server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@ RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function() end)
Triggered when player.Functions.setMetaData() is used.

```lua
RegisterNetEvent('qbx_core:server:onSetMetaData', function(key, oldValue, newValue) end)
RegisterNetEvent('qbx_core:server:onSetMetaData', function(key, oldValue, newValue, source) end)
```

- key: `string`
- oldValue: `any`
- newValue: `any`
- source: `number`

0 comments on commit 8800dd7

Please sign in to comment.