Raised This Month: $ Target: $400
 0% 

+speed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 01-04-2011 , 22:04   +speed
Reply With Quote #1

I place high value but the character continues with the standard speed.
[IMG]http://img695.**************/img695/990/rapido.png[/IMG]
What am I doing wrong?

Thanks!
rodrigo286 is offline
infek
Senior Member
Join Date: May 2009
Location: Behind you
Old 01-05-2011 , 01:05   Re: +speed
Reply With Quote #2

Try something like this
http://www.amxmodx.org/funcwiki.php?go=func&id=123
__________________
"Domo Arigato, Mr. Roboto!"
PM me if you want to know a secret
infek is offline
Elusive138
Senior Member
Join Date: Dec 2010
Old 01-05-2011 , 01:55   Re: +speed
Reply With Quote #3

Quote:
Originally Posted by infek View Post
That's what he's using...

Make sure your sv_maxspeed (server cvar) is high enough. Default is 320.
Make sure your cl_forwardspeed, cl_backspeed and cl_sidespeed (client cvars) are high enough. I think the default was 320.
When a player switches weapons, speed gets reset... You can counter that by setting the speed up again using this.

Good luck.
Elusive138 is offline
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 01-05-2011 , 04:42   Re: +speed
Reply With Quote #4

Quote:
Originally Posted by Elusive138 View Post
That's what he's using...

Make sure your sv_maxspeed (server cvar) is high enough. Default is 320.
Make sure your cl_forwardspeed, cl_backspeed and cl_sidespeed (client cvars) are high enough. I think the default was 320.
When a player switches weapons, speed gets reset... You can counter that by setting the speed up again using this.

Good luck.
You're asking him to do way more than he needs to. He should never have to change client cvars or server cvars. He can use fakemeta to change the speed efficiently:

set_pev( index, pev_maxspeed, Float:0.0 )

^ The 3RD parameter HAS to be a float.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 01-05-2011 , 05:50   Re: +speed
Reply With Quote #5

Quote:
Originally Posted by GXLZPGX View Post

set_pev( index, pev_maxspeed, Float:0.0 )

^ The 3RD parameter HAS to be a float.
FM is not da solution to all your problems, he is using da correct native a beginner is supposed to use to set speed

Btw you can try hooking Ham_Item_PreFrame and set players speed thier
but if u r using ZP with this plugin then it wont work cause ZP sets users speed in Player_Prethink so the speed will be reset everytime you try to set it
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 01-05-2011 , 10:05   Re: +speed
Reply With Quote #6

did not work, can someone show me how is the code?
rodrigo286 is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 01-05-2011 , 12:14   Re: +speed
Reply With Quote #7

Quote:
Originally Posted by abdul-rehman View Post
if u r using ZP with this plugin then it wont work cause ZP sets users speed in Player_Prethink so the speed will be reset everytime you try to set it
Atleast answer my question first !
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Pinatz
Member
Join Date: Dec 2008
Old 01-05-2011 , 12:46   Re: +speed
Reply With Quote #8

You are changing the speed only one time. After the player changes his weapon the speed will be 320 again.
And I may be wrong but you have to force the client cvar to 800 (cl_forwardspeed 800, cl_sidespeed 800, cl_backspeed 800).
__________________
Pinatz is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 01-05-2011 , 12:48   Re: +speed
Reply With Quote #9

Quote:
Originally Posted by abdul-rehman View Post
Atleast answer my question first !
You asked no question, sir.
SnoW is offline
Send a message via MSN to SnoW
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 01-05-2011 , 13:16   Re: +speed
Reply With Quote #10

I put in autoexec.cfg

cl_forwardspeed 800
cl_sidespeed 800
cl_backspeed 800

It did not work.

Thanks!
rodrigo286 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 01:59.


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