set_user_gravity

Синтаксис

native set_user_gravity(index, Float:gravity = 1.0);

Употреба

index
Client index
gravity
Gravity value to set, 1.0 being normal gravity (800)

Описание

Sets player's gravity.

Връщаща стойност

Тази функция няма връщаща стойност.

Грешка

If player is not connected or not within the range
of 1 to MaxClients.