Invisible weapon

help

#1

Hello, I wonder if it is possible to make weapon invisible? I want that to happend for a few seconds, i have tried using SetEntityVisible and GetCurrentPedWeapon but that seems not to work, any idea is it even possible?


#2

Do you mean like this?
SetCurrentPedWeapon(GetPlayerPed(-1), GetHashKey(“WEAPON_UNARMED”), true)


#3

I just found out that i can use SetPedCurrentWeaponVisible(ped, 0, 0, 1, 1)
And its working as i wanted to, anyway thanks!