SA-MP Forums Archive
SetGravityForPlayer and SetPlayerSpeed - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetGravityForPlayer and SetPlayerSpeed (/showthread.php?tid=378752)



SetGravityForPlayer and SetPlayerSpeed - [HK]Ryder[AN] - 19.09.2012

Is there a way or a stock by which i can set a player's gravity(so that he can jump high) or change his running speed?Please tell me.
-Ryder


Re: SetGravityForPlayer and SetPlayerSpeed - XtremeR - 19.09.2012

pawn Код:
SetGravity(0.004);//moon gravity
SetGravity(0.008);//normal gravity
you can do it what ever you want..

+rep if that helps


Re: SetGravityForPlayer and SetPlayerSpeed - [HK]Ryder[AN] - 19.09.2012

That will st for all the players..i want for only 1 player.


Re: SetGravityForPlayer and SetPlayerSpeed - XtremeR - 19.09.2012

pawn Код:
SetPlayerGravity(playerid, gravity);
Download YSI include so it wont give any error/warning

link : http://forum.sa-mp.com/index.php?topic=138599.0


Re: SetGravityForPlayer and SetPlayerSpeed - [HK]Ryder[AN] - 19.09.2012

umad?theres no such function..thats why i am asking..if you could provide me a stock then it'd be ok.


Re: SetGravityForPlayer and SetPlayerSpeed - clarencecuzz - 19.09.2012

This is the only thing I could find that might help you.
https://sampforum.blast.hk/showthread.php?tid=177059


Re: SetGravityForPlayer and SetPlayerSpeed - Qu3esL - 19.09.2012

Quote:
Originally Posted by clarencecuzz
Посмотреть сообщение
This is the only thing I could find that might help you.
https://sampforum.blast.hk/showthread.php?tid=177059
the native SetPlayerGravity(playerid, Float); is little buggy but try it for access at least.


Re: SetGravityForPlayer and SetPlayerSpeed - [HK]Ryder[AN] - 19.09.2012

its not for the latest samp..0.3e


Re: SetGravityForPlayer and SetPlayerSpeed - _Outbreak_ - 11.10.2012

I've got one for SAMP 0.3e, I found it on a Polish site. PM me for the link as i don't want to cross link different forums on here.


Re: SetGravityForPlayer and SetPlayerSpeed - Glint - 11.10.2012

Quote:
Originally Posted by [HK]Ryder[AN]
Посмотреть сообщение
its not for the latest samp..0.3e
It is check it.