Raised This Month: $ Target: $400
 0% 

Strafe Modifier


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Syturi0
Veteran Member
Join Date: Aug 2014
Location: Your mom house -Portugal
Old 04-17-2016 , 14:16   Strafe Modifier
Reply With Quote #1

Is there any way to detect when the player pressed strafe modifier (ALT key)?
Syturi0 is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 04-17-2016 , 14:43   Re: Strafe Modifier
Reply With Quote #2

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.
siriusmd99 is offline
Syturi0
Veteran Member
Join Date: Aug 2014
Location: Your mom house -Portugal
Old 04-17-2016 , 15:43   Re: Strafe Modifier
Reply With Quote #3

Quote:
Originally Posted by siriusmd99 View Post
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 is offline
Syturi0
Veteran Member
Join Date: Aug 2014
Location: Your mom house -Portugal
Old 08-01-2016 , 13:21   Re: Strafe Modifier
Reply With Quote #4

*bump*

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



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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