[T1] mouse wheel weapon change

carn0va
08-22-2004, 03:20 AM
how do you make the wheel on mouse change weapons? :[

Amadeus
08-22-2004, 04:52 AM
bindCommand(mouse0, zaxis0, to, "nextweapon();");
bindCommand(mouse0, zaxis1, to, "prevweapon();");

carn0va
08-22-2004, 10:59 AM
Just put that in autoexe? (forgive me, don't have many scripts myself)

Amadeus
08-22-2004, 11:05 AM
Yep.


Make sure to put it on the very end to prevent other scripts from overriding it.

carn0va
08-22-2004, 05:08 PM
k, got it, thanks man

Jess
08-23-2004, 12:54 AM
good job johnhacker