AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Strafe Modifier (https://forums.alliedmods.net/showthread.php?t=281683)

Syturi0 04-17-2016 14:16

Strafe Modifier
 
Is there any way to detect when the player pressed strafe modifier (ALT key)?

siriusmd99 04-17-2016 14:43

Re: Strafe Modifier
 
Quote:

new iButton = get_uc( ucHandle, UC_Buttons );
if( iButton & IN_ALT1 ) {
//your code
}
I used google search:
https://forums.alliedmods.net/showthread.php?t=83958

Hope it is what you were finding.

Syturi0 04-17-2016 15:43

Re: Strafe Modifier
 
Quote:

Originally Posted by siriusmd99 (Post 2411922)
I used google search:
https://forums.alliedmods.net/showthread.php?t=83958

Hope it is what you were finding.

I tryed it already before posting this, and it doesnt work :/

Syturi0 08-01-2016 13:21

Re: Strafe Modifier
 
*bump*

I want to block strafe modifier (ALT key), or simply make the player unable to move when he uses it.


All times are GMT -4. The time now is 18:36.

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