AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How do i override a key (https://forums.alliedmods.net/showthread.php?t=196659)

InnocentMonster 09-23-2012 21:07

How do i override a key
 
Hello Everyone,

I am currently working on a mod that need to replace jump (Space Bar) with my own command. I know that Vs Saxton Hale mode can use Ctrl as super jump, so there must be a way. Can anyone help me?

Thanks,
InnocentMonster

fysiks 09-23-2012 22:12

Re: How do i override a key
 
Just as an FYI, it's impossible to tell what physical key is being used for a command. The only thing that you can do is execute a function when they send the jump command to the server (but note that the jump command is handled different than single instance commands like "say" or "say_team").

YamiKaitou 09-24-2012 00:23

Re: How do i override a key
 
Scripting help for SourceMod is found over there


All times are GMT -4. The time now is 08:22.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.