Raised This Month: $ Target: $400
 0% 

Air/Ground Speed Boost


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 01-07-2016 , 03:55   Re: Air/Ground Speed Boost
Reply With Quote #5

Get user velocity, multiply it and then set it back, like this:

PHP Code:

new Float:origin[3];
     
pev(iUserpev_velocityorigin)
     
origin[0] *= // it's x
     
origin[1] *= //it's y
     
origin[2] *= //it's z
     
set_pev(iUser,pev_velocity,origin
But i don't understand exactly how it works. I made once like that and it pushed me down on surf, so in this case you shall multiply "x" by 4 ,and z with y by 2.
Just play with z,x,y and try to modify values until you get perfect surfing boost.

Last edited by siriusmd99; 01-07-2016 at 04:10.
siriusmd99 is offline
 



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 09:27.


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