#cw-rep:client:repWasUpdated

1 messages · Page 1 of 1 (latest)

grim hound
#

Hey, i added your example code to my client.lua. I can confirm that skill is increased but the event doesnt trigger. Any idea?

RegisterNetEvent('cw-rep:client:repWasUpdated', function(skills)
    print('new skills', json.encode(skills, {indent=true})) -- remove this line after you know how `skills` look
    -- Add code to do something with this info
end)
honest drum
#

Are you running the rep version where it was added?

grim hound
#

yes i can see the event trigger in your code

grim hound
#

Any idea?

honest drum
#

Not at home so I cant check

honest drum
#

Are you sure your of-core is actually active?

#

You can find an example of how it's used (and working) in cw-crafting

grim hound
#

Yes of-core is active but ill have a look

#

figured it out, it was a error within ox_inventory and qbx_core updated both and now its working

honest drum
#

👍