Page 1 of 1

Not Allowing a Weapon to be Holstered?

Posted: Wed Mar 12, 2003 2:07 pm
by MPowell1944
How would I go about disabled the holstering of a primary weapon?

Posted: Wed Mar 12, 2003 2:38 pm
by Angex
Maybe this would work;

local.holsterkey = getboundkey1 "+holster"
local.holsterkey = NULL

OR

local.holsterkey = getboundkey1 "+holster"
local.holsterkey = NIL

But why would you want to do this.

Posted: Thu Mar 13, 2003 11:04 am
by Angex
I just realised that won't work.

All it'll do is set local.hostlerkey to a null value, it won't actually affect the holster key.

Unless there's a setboundkey command, I don't think it'll be possible.

Posted: Thu Mar 13, 2003 1:24 pm
by jv_map
You can bind any key to any command using stufftext, but I think that's a very sloppy solution. Don't know a better one though :(.