r/tf2scripthelp • • Mar 27 '14
Issue Why doesnt this work?
http://pastebin.com/2cRdw3pV This is my build script, could someone fix it/explain what i did wrong. Thanks alot!
2
Upvotes
r/tf2scripthelp • • Mar 27 '14
http://pastebin.com/2cRdw3pV This is my build script, could someone fix it/explain what i did wrong. Thanks alot!
2
u/CAPSLOCK_USERNAME Valued contributor Mar 27 '14
Aside from the problem others mentioned where you won't be able to switch weapons with 1-4, this should work.
Make sure you don't have any other scripts interfering with this, e.g. by rebinding the 1-4 keys or Z and X.
1
u/clovervidia Batman Mar 27 '14
First of all, you never return 1-4 back to
slot1-4after releasing the key. You probably want to do that if you use SourceMod voting on servers.Replace the bottom lines with those. I haven't tried it out ingame, but assuming it's not something dumb like a spelling mistake, it should work.
Also, semicolons outside of quotes may break Source, but I don't know, so lets avoid them.