fix deprecated event method
This commit is contained in:
1 parent
6e84b3f9ca
commit
00f69aa315
4 files changed
+18
-2
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user