Raised This Month: $ Target: $400
 0% 

UC_Buttons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mati009988
Member
Join Date: Jul 2009
Old 07-17-2010 , 04:52   UC_Buttons
Reply With Quote #1

Hi!
When walk speed is high and i try to go with shift i can hear my footsteps.

I try to fix it:
PHP Code:
new button get_uc(uc_handleUC_Buttons);
if(
button IN_xxx){
/*code*/

But i don`t know how to name shift key

Please help.
mati009988 is offline
lazarev
Veteran Member
Join Date: Sep 2008
Old 07-17-2010 , 04:56   Re: UC_Buttons
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=56872
lazarev is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-17-2010 , 04:57   Re: UC_Buttons
Reply With Quote #3

I think it's got something to do with IN_RUN ... but that can be weird, because I think it's triggered when you WALK OR when you RUN by pressing the shift key (always run off, shift = run).

The best way I think is to use get_speed() and if it's >= to the boosted walking speed, you just do what you need.
__________________
Hunter-Digital is offline
mati009988
Member
Join Date: Jul 2009
Old 07-18-2010 , 08:58   Re: UC_Buttons
Reply With Quote #4

ok thanks
mati009988 is offline
Reply


Thread Tools
Display Modes

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 07:10.


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