native
set_user_gravity
Syntax
native set_user_gravity(index, Float:gravity = 1.0);
Description
Sets player's gravity.
Parameters
| index | Client index |
|---|---|
| gravity | Gravity value to set, 1.0 being normal gravity (800) |
Return
This function has no return value.
Error
If player is not connected or not within the range
of 1 to MaxClients.