fix deprecated event method

This commit is contained in:
MrNewb committed 2025-01-23 23:34:21 -05:00
1 parent 6e84b3f9ca
commit 00f69aa315
4 files changed
+18 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
if GetResourceState('qb-clothing') ~= 'started' then return end
RegisterServerEvent('qb-clothing:saveSkin', function(model, skin)
RegisterNetEvent('qb-clothing:saveSkin', function(model, skin)
local src = source
if model ~= nil and skin ~= nil then
TriggerClientEvent('community_bridge:client:updateStoredClothing', src, skin)