Player::setConfigFlag

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Client-Side
Function

Js.png JavaScript



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


JavaScript Syntax
Jslogo.png

Syntax

player.setConfigFlag(flagId, state);

Required Arguments

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

Example

Client-Side
// todo



See also