Signature
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)
No return value
Errors
-
If player is not connected or not within the range
of 1 to MaxClients.