Jump to content
bazzaro135

Holster script dissappearing, adding autorun

Recommended Posts

So I have found a holster script online and added it to my server. I added the player execVM "WeaponHolster.sqf"; to the OnPlayerRespawn.sqf file and the holster option is there when you first load in but after some time or seems like use the arsenal the option disappears. Can I get some help here is the script.
 

/*
[] execVM "weaponholster.sqf";
Execute this somehow either in-game debug console or with a onPlayerRespawn.sqf
*/

_unit = player;

_unit addAction [
	"Holster",
	{(_this select 1) action ["SwitchWeapon",(_this select 1),(_this select 1),100];},
	true,
	1,
	false,
	false,
	"",
	"(!(currentWeapon _target == '') && (count weapons player > 0))"
	];

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×