View Single Post
Mario AR.
Senior Member
Join Date: May 2011
Location: Lima, Perú
Old 02-14-2016 , 23:04   Re: Gravity API v0.3
Reply With Quote #20

Quote:
Originally Posted by Craxor View Post
why you should use set_player_gravity then you would use get_user_gravity in another plugin? You should use Both functions in the same plugin.
Supose this case:
A plugin using your API changes a player gravity, then another plugin changes the same player gravity. This last change is not saved, so, after a map change (or reconnect); the player will get its previous gravity.

Quote:
Originally Posted by Craxor View Post
also is saves the gravity you gave
That functionality is worth for a new plugin, I think.

Since gravity calculations are pretty simple, a plugin developer would do the calculations in the plugin instead of using your API (maybe wouldn't even care if the API exists)!

Off: Hi KliPPy. Hi Hamlet.
I'm glad to be back, and to see that HamletEagle is now an unapprover

Last edited by Mario AR.; 02-14-2016 at 23:15.
Mario AR. is offline