Advanced Holstering

13 October, 2018

What Is This?

Believe it or not there is a very easy way to allow your character to put their primary weapon on their back and or pistol in their holster. This will work great in scenes you want to have a great cinematic effect. This will work wherever you put it and is a great line of code to have. Personally I think this works great in multiplayer missions to allow players to fully holster their weapons, instead of having to tap ‘CTRL’ twice just to put your gun down a bit.

How?

There is a really simple line of code you can use below:

player action ["SwitchWeapon", player, player, 100];

Remember this is just the code to activate the animation, you can do much more with it. I would personally add this into another script which activated this when a button is clicked.

How It Looks

Advanced Holstering in Action