Player::getConfigFlag

From RAGE Multiplayer Wiki
Revision as of 23:44, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

p2 is always 1 in the scripts.

if (GET_Player_CONFIG_FLAG(ped, 78, 1))
= returns true if ped is aiming/shooting a gun

Syntax

player.getConfigFlag(flagId, p2);

Required Arguments

  • flagId: int
  • p2: Boolean

Return value

  • Boolean

Example

// todo

See also