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

how do i slow down player falling speed?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Grovliom
Member
Join Date: Mar 2020
Location: somewhere in Serbia
Old 05-31-2020 , 17:46   how do i slow down player falling speed?
Reply With Quote #1

how?
Grovliom is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 05-31-2020 , 19:54   Re: how do i slow down player falling speed?
Reply With Quote #2

either by decreasing his gravity or multiplying his z velocity by a percentage!
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Grovliom
Member
Join Date: Mar 2020
Location: somewhere in Serbia
Old 05-31-2020 , 19:56   Re: how do i slow down player falling speed?
Reply With Quote #3

Quote:
Originally Posted by Natsheh View Post
either by decreasing his gravity or multiplying his z velocity by a percentage!
How do i decrease the Z velocity by a percentage?
Grovliom is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 05-31-2020 , 20:02   Re: how do i slow down player falling speed?
Reply With Quote #4

PHP Code:
static Float:fVelo[3];
pev(idpev_velocityfVelo);
fVelo[2] *= 0.5;
set_pev(idpev_velocityfVelo); 
here is a code shows how to decrease [ player index ( id ) ] z velocity. by 50%
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 05-31-2020 at 20:02.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 04:03.


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