Hello i trying to improve/fix this resource: https://github.com/OfficialDarkzy/weaponsforback
for now weapons appear on back and disappear when remove item/pick to hand.
But sometimes weapon won’t appear on back or randomly disappear. Should i add some flags to spawned weapon like god mode? I now i can improve code f.e cache weaponHash but now i want to make code perfectly working. for now my code looks like: https://pastebin.com/P7Z8SYjj
Why dont you ask the the person whos repo you just linked…
Also I believe he was just trying to convert the ESX one to standalone so I would guess many reasons it doesnt work.
Hello sir! Yes this is SEMI, converted version… it wasnt made to be totally public yet, my bad… I think the best thing i need to do for that is rewrite the whole thing, not use the old ESX template, but if SOMEONE else wants too then go ahead
There is a post on the forums aswell with that code you posted
Hello guys! I have used this on my test server. Trying to make it work so people stop walking with an armory with them. And this is the perfect way. But i have one small issue. It seems that if i use the mp_m_freemode_01 and mp_f_freemode_01 skins , it spawns a vest on you even if you don’t have a weapon. The only way to make it disappear is by having a pistol and un-holstering it. I took a look at the code and i can’t seem to find what triggers this behavior. I’d love to use this resource since i’ve been waiting for this kind of resource for a while now.
I just released a standalone version that doesn’t give slow resource warnings --> [Release] Weapons On Back