From SA-MP Wiki
Get the currently set gravity.
|This function is not defined by default. Add 'native GetGravity();' under the inclusion of a_samp.inc to use it.|
The current set gravity (as a float).
native GetGravity(); printf("Current gravity: %f", GetGravity());
The following functions may be useful, as they are related to this function in one way or another.
- SetGravity: Set the global gravity.