SetPlayerGravity
#1

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

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

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

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

Thanks man!
Reply
#6



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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)