06 Jul 10, 07:54AM
(This post was last modified: 06 Jul 10, 07:55AM by Ronald_Reagan.)
I have this seemingly simple script that I made to rebind some keys to some sounds. For some reason, it is consistently giving me errors.
Errors;
This code may seem a little random to you, but dont worry. You may think that my binds are going to stay that way, dont worry, I know.
Additional information, I did use a mod package to replace some of the sounds, I'm keeping the same names, and they are in the right place, I dont think they are the problem. I'll run a test soon to figure out.
Am I using totally different command than I should?
Errors;
- All binds execute at game startup.
- It says that there is an unregistered sound number 44
- The keys get unbound. Like, they dont work anymore.
[SELECT ALL] Code:
bind A (crouch) (say D)
bind S (voicecom stayhere G)
bind D (voicecom sorry A)
bind F (if (=f curweapon 2) (weapon (rnd 1)) (weapon 2)) (say B)
bind G (voicecom niceshot C)
bind H (jump) (say D)
bind RETURN (suicide)
This code may seem a little random to you, but dont worry. You may think that my binds are going to stay that way, dont worry, I know.
Additional information, I did use a mod package to replace some of the sounds, I'm keeping the same names, and they are in the right place, I dont think they are the problem. I'll run a test soon to figure out.
Am I using totally different command than I should?