Raised This Month: $ Target: $400
 0% 

Changing player movement speed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
macas5
Member
Join Date: Aug 2008
Location: Lithuania
Old 05-31-2010 , 16:26   Changing player movement speed
Reply With Quote #1

Hello i am trying to make one plugin, but im stuck with speed modifier. I tried to make with
Code:
new speed = get_user_maxspeed
set_user_maxspeed (id, speed * modifier)
but i see no difference even modifier is 999. Maybie there is some other command? Help plz

Last edited by macas5; 05-31-2010 at 16:30.
macas5 is offline
Send a message via Skype™ to macas5
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 05-31-2010 , 16:53   Re: Changing player movement speed
Reply With Quote #2

The speed of a player depends of the weapon.
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-31-2010 , 17:30   Re: Changing player movement speed
Reply With Quote #3

You must also change the sv_maxspeed server cvar.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
macas5
Member
Join Date: Aug 2008
Location: Lithuania
Old 06-01-2010 , 01:11   Re: Changing player movement speed
Reply With Quote #4

Quote:
Originally Posted by #8 SickneSS View Post
The speed of a player depends of the weapon.
And how can i change weapon speed?
macas5 is offline
Send a message via Skype™ to macas5
xhiino
Senior Member
Join Date: Oct 2009
Location: santiasko
Old 05-31-2010 , 22:14   Re: Changing player movement speed
Reply With Quote #5

pev_speed ?
__________________
xhiino is offline
Send a message via MSN to xhiino
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 06-01-2010 , 02:21   Re: Changing player movement speed
Reply With Quote #6

Use CurWeapon Event

You can see this plugin to know the speed of the weapons.
http://forums.alliedmods.net/showthread.php?p=652397
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
macas5
Member
Join Date: Aug 2008
Location: Lithuania
Old 06-01-2010 , 05:12   Re: Changing player movement speed
Reply With Quote #7

Quote:
Originally Posted by #8 SickneSS View Post
Use CurWeapon Event

You can see this plugin to know the speed of the weapons.
http://forums.alliedmods.net/showthread.php?p=652397
I tried to make, but it doesn't work i event tryied to make console command to speed, but id doesn't work either. Can you write an example to speed?

Quote:
Originally Posted by xhiino View Post
pev_speed ?
Hmm... it makes my interest, but i don't even know that command structure

Last edited by macas5; 06-01-2010 at 05:15.
macas5 is offline
Send a message via Skype™ to macas5
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 06-01-2010 , 05:25   Re: Changing player movement speed
Reply With Quote #8

Check this thread: http://forums.alliedmods.net/showthr...023#post972023
__________________
Impossible is Nothing
Sylwester is offline
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 06-01-2010 , 12:21   Re: Changing player movement speed
Reply With Quote #9

Did you read my post?
Quote:
Originally Posted by Sylwester View Post
__________________
Impossible is Nothing
Sylwester is offline
macas5
Member
Join Date: Aug 2008
Location: Lithuania
Old 06-01-2010 , 12:49   Re: Changing player movement speed
Reply With Quote #10

Quote:
Originally Posted by Sylwester View Post
Did you read my post?
Thanks it works now i will try to add it to my script
macas5 is offline
Send a message via Skype™ to macas5
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 05:19.


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