Author Topic: How do I add keybinds to commands?  (Read 968 times)

Well I figured that, it just looked wrong. Guess I should have tested it
Yeah it does look wrong, I tested it too before posting, haha. It also works without spaces, which looks even weirder..

$RemapCount++-1

Learn something new every day.

Though in the past I remember doing
$remapDivision[$RemapCount++]
$remapName[$RemapCount]
$remapCmd[$RemapCount]

But I trusted that Jess was right on this one. But, if you find that you're overwriting some command on the keybind list, that's probably why.

Code: [Select]
$remapCmd[$remapCount] = "CommandToServer('kill')";
nop

this can only be used with call()
you cant bind snippets of code like that without another client mod like my servercommandgui (woo advertising)