SetGravityForPlayer and SetPlayerSpeed
#1

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
Reply
#2

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

+rep if that helps
Reply
#3

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

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
Reply
#5

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

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

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.
Reply
#8

its not for the latest samp..0.3e
Reply
#9

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.
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)