25 Jul 11, 10:14PM
(20 Jul 11, 07:57AM)Bukz Wrote: Yes, if it is all bound to a key. Auto-weapon switching without pressing a keybind is not allowed anymore.
Can you do an if on a keybind? I have no idea how to use CS yet, so here is the idea.
//-// TERRIBLE CODE ENSUES //-//
[SELECT ALL] Code:
bind mouse1
[
if primary=1
if secondary.ammo > 0
weapon=secondary
else
if total.ammo > 0
reload
else
weapon=melee
]
//-// THE PAIN IS OVER //-//
Would something like that work?
//Edit: Just read 888's script. I assume it would be similar.
//Double Edit: Saw the first post's pistol switch. I'll read from now on.