SA-MP Forums Archive
SetPlayerGravity - 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: SetPlayerGravity (/showthread.php?tid=54876)



SetPlayerGravity - stieben - 08.11.2008

Is it possible to make a function like: SetPlayerGravity(playerid, Float:gravity); ?

Cause I want to change the gravity for 1 player and not for ALL!


Re: SetPlayerGravity - MenaceX^ - 08.11.2008

You would be surprised but YES.

As I know ****** has made something like this.
/gravity [gravity amount]
It's sets gravity only for the current player.


Re: SetPlayerGravity - sebihunter - 08.11.2008

http://forum.sa-mp.com/index.php?topic=77234.0 - Here you get the plugin wich includes the function


Re: SetPlayerGravity - MenaceX^ - 08.11.2008

Quote:
Originally Posted by Sebihunter
http://forum.sa-mp.com/index.php?topic=77234.0 - Here you get the plugin wich includes the function
Yes, That's what I meant.


Re: SetPlayerGravity - stieben - 08.11.2008

Thanks man!


Re: SetPlayerGravity - stieben - 08.11.2008



when I put SetPlayerGravity in my gamemode it has no errors, but when I run samp-server.exe to test it it says:
Код:
Run time error 19: "File or function is not found"
on the bottom
What do I have to do now?


Re: SetPlayerGravity - MenaceX^ - 08.11.2008

I suggest you to ask in ******' topic. not this one.


Re: SetPlayerGravity - Paramount - 19.05.2012

Lol. Is it bad that I just had to bring this topic all the way to the top, from 2008? :P
I've seen people do this just for the lawlz. Just had to.