Player::setConfigFlag

From RAGE Multiplayer Wiki

Client-Side
Function

 JavaScript



Toggles player config flag.
See available flags here: Player Config Flags


JavaScript Syntax

Syntax

player.setConfigFlag(flagId, state);

Required Arguments

  • *flagId: Int (Flag IDs)
  • *state: Boolean (Toggle flag's state)

Example

Client-Side
// todo



See also