Player::isFreeAiming

From RAGE Multiplayer Wiki
Revision as of 17:42, 16 August 2018 by Stuyk (talk | contribs)

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

Syntax

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