GetGravity
Description
Get the currently set gravity.
Examples
#if !defined GetGravity
native Float:GetGravity();
#endif
printf("Current gravity: %f", GetGravity());
Notes
warning
This function is not defined by default. Add 'native Float:GetGravity();' under the inclusion of a_samp.inc to use it.
Related Functions
- SetGravity: Set the global gravity.