AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Longjump... (https://forums.alliedmods.net/showthread.php?t=57422)

mateo10 07-04-2007 12:06

Longjump...
 
My question is simple: How do you make a working longjump function?
I would've ripped it from csdm, if it wasn't in the module.

Thanks in advance,
MaTTe

VEN 07-04-2007 13:16

Re: Longjump...
 
You can take a look into fm_set_user_longjump() from the Fakemeta Utilities

mateo10 07-04-2007 13:36

Re: Longjump...
 
The problem is that I want the length of the longjump editable.

VEN 07-05-2007 01:14

Re: Longjump...
 
You can change player's velocity in a horizontal plane while in jump.

Code:
new Float:your_velocity[3] pev(player, pev_velocity, your_velocity) your_velocity[1] *= multiplier_aka_speed_factor // your custom value (float) your_velocity[2] *= multiplier_aka_speed_factor set_pev(player, pev_velocity, your_velocity)

mateo10 07-05-2007 06:16

Re: Longjump...
 
Thanks


All times are GMT -4. The time now is 21:33.

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