Raised This Month: $ Target: $400
 0% 

Need help starting this plugin.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-25-2007 , 13:07   Re: Need help starting this plugin.
Reply With Quote #1

Quote:
Originally Posted by stupok69 View Post
The only way I know how to determine whether a user is running or walking is by measuring their actual speed.

You can see that there are problems with this already, if you're hoping to swap running speed with walking speed. I think it may be doable, but it will be fishy. If I have some time I'll give it a try...
or use pev button to determine if they are holding walk...
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
stupok
Veteran Member
Join Date: Feb 2006
Old 07-25-2007 , 13:53   Re: Need help starting this plugin.
Reply With Quote #2

Where's the walk constant?

Code:
// pev(entity, pev_button) or pev(entity, pev_oldbuttons) values
#define IN_ATTACK                       (1<<0)
#define IN_JUMP                         (1<<1)
#define IN_DUCK                         (1<<2)
#define IN_FORWARD                      (1<<3)
#define IN_BACK                         (1<<4)
#define IN_USE                          (1<<5)
#define IN_CANCEL                       (1<<6)
#define IN_LEFT                         (1<<7)
#define IN_RIGHT                        (1<<8)
#define IN_MOVELEFT                     (1<<9)
#define IN_MOVERIGHT                    (1<<10)
#define IN_ATTACK2                      (1<<11)
#define IN_RUN                          (1<<12)
#define IN_RELOAD                       (1<<13)
#define IN_ALT1                         (1<<14)
#define IN_SCORE                        (1<<15)     // Used by client.dll for when scoreboard is held down
The only thing I think may work is IN_RUN, but I'm not sure until I test it.
stupok 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 21:32.


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