Перейти к содержанию

Player::isFreeAiming

Материал из RAGE MP Wiki Archive
Версия от 00:27, 28 марта 2019; imported>Kar
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Gets a value indicating whether the specified player is currently aiming freely.

Syntax

mp.game.player.isFreeAiming();

Required Arguments

Return value

  • Boolean

Example

Outputs the current "FreeAiming" state into the chatbox

let freeAiming = mp.game.player.isFreeAiming();
mp.gui.chat.push("Freeaiming is " + (freeAiming ? "active" : "inactive"))

See also