Jump to content

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 [
	{(_this select 1) action ["SwitchWeapon",(_this select 1),(_this select 1),100];},
	"(!(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