From 8800dd7dd0804e1f7e73a0bebb8761530b104b81 Mon Sep 17 00:00:00 2001 From: Antony <97451137+TonybynMp4@users.noreply.github.com> Date: Tue, 6 Feb 2024 21:22:41 +0100 Subject: [PATCH] fix: onSetMetaData params (#14) * Update onSetMetaData * param order * Update pages/resources/qbx_core/events/server.mdx Co-authored-by: David Malchin --------- Co-authored-by: David Malchin --- pages/resources/qbx_core/events/server.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/resources/qbx_core/events/server.mdx b/pages/resources/qbx_core/events/server.mdx index 5420e27..0c2e1ab 100644 --- a/pages/resources/qbx_core/events/server.mdx +++ b/pages/resources/qbx_core/events/server.mdx @@ -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`