[HOW] Use 'CreateWeaponObject'

Hello !

I try to use the native function “CreateWeaponObject” but my object doesn’t spawn and return 0.
I think it’s a problem with the loading object. So, I tried to add RequestModel but it’s the same.

For the moment, I’m using “GetWeaponObjectFromPed” but this object is not networked and other players doesn’t see my weapon in my back :S

I use this weapon object function to be able to use the tint index after.

Find :
I have to use : RequestWeaponAsset.

Do you mind sending me your script? I have working on a medic bag that attaches to the hand and I want to see I have done it correctly.

Use this script to compare your