Raised This Month: $51 Target: $400
 12% 

Modify Movement Speed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lockyleung
Member
Join Date: Aug 2010
Old 11-12-2012 , 12:18   Modify Movement Speed
Reply With Quote #1

Here is the plugin that I am using.
http://forums.alliedmods.net/showthread.php?p=737066

Can anyone add restriction of movement speed for different classes?
For instance, if I choose to be a sniper, the movement speed will be limited to 200, etc.
Thank you.
lockyleung is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 11-12-2012 , 13:41   Re: Modify Movement Speed
Reply With Quote #2

Here you changes speed values...
PHP Code:
new const Float:g_speed_values[ ] = {
    
220.0//Riffleman
    
220.0//Assault
    
220.0//Suport
    
220.0//Sniper
    
220.0//Machine Gunner
    
0.0 // Do not change!
}; 
Attached Files
File Type: sma Get Plugin or Get Source (DOD_CharactersMod.sma - 582 views - 12.6 KB)
__________________

Last edited by Neeeeeeeeeel.-; 11-12-2012 at 13:41.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
lockyleung
Member
Join Date: Aug 2010
Old 11-13-2012 , 00:11   Re: Modify Movement Speed
Reply With Quote #3

Quote:
Originally Posted by Neeeeeeeeeel.- View Post
Here you changes speed values...
PHP Code:
new const Float:g_speed_values[ ] = {
    
220.0//Riffleman
    
220.0//Assault
    
220.0//Suport
    
220.0//Sniper
    
220.0//Machine Gunner
    
0.0 // Do not change!
}; 
Not working when I change them. In addition, when I switch the gun, the person somehow be pushed

Last edited by lockyleung; 11-13-2012 at 00:31.
lockyleung 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 11:38.


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