SA-MP Forums Archive
Setting a players gravity - 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: Setting a players gravity (/showthread.php?tid=399614)



Setting a players gravity - Dan. - 15.12.2012

Hi,

I need to do SetPlayerGravity(playerid) in my server to give some characters specical abilities, but the SetPlayerGravity isn't working anymore and also isn't YSF. So any solutions for this one? I'd be really thankful.

Dan.


Re: Setting a players gravity - Lz - 15.12.2012

Quote:
Originally Posted by Dan.
Посмотреть сообщение
Hi,

I need to do SetPlayerGravity(playerid) in my server to give some characters specical abilities, but the SetPlayerGravity isn't working anymore and also isn't YSF. So any solutions for this one? I'd be really thankful.

Dan.
I read something about ****** having made something like it, Maybe try ask him? Ill also try search for it too as can be useful


Re: Setting a players gravity - Andregood - 15.12.2012

I'd recommend setplayervelocity if it's about jumping.


Re: Setting a players gravity - Dan. - 15.12.2012

Yeah, ****** made YSF, it contains SetPlayerGravity but unfortunately it's outdated

Quote:
Originally Posted by Andregood
Посмотреть сообщение
I'd recommend setplayervelocity if it's about jumping.
I'll try that.


Re: Setting a players gravity - Konstantinos - 15.12.2012

There's no way to make something like this, atleast for now. USF is updated to 0.3e, however native SetPlayerGravity won't work.


Re: Setting a players gravity - EAsT-OAK_510 - 15.12.2012

Quote:
Originally Posted by Dan.
Посмотреть сообщение
Hi,

but the SetPlayerGravity isn't working anymore and also isn't YSF.

Dan.
You answered your own question. Unless ****** updates YSF, there is no possible way of doing it.