Invisible weapon

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?

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

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