Player::getConfigFlag

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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