Difference between revisions of "Player::setConfigFlag"

From RAGE Multiplayer Wiki
Jump to navigation Jump to search
(Added link to config flags list page.)
 
Line 2: Line 2:
  
 
{{ClientsideJsFunction}}
 
{{ClientsideJsFunction}}
 +
Toggles player config flag.<br/>
 +
See available flags here: [[Player_Config_Flags|Player Config Flags]]
 +
  
 
{{JSContainer|
 
{{JSContainer|
Line 18: Line 21:
 
}}
 
}}
 
}}
 
}}
 +
  
 
==See also==
 
==See also==

Latest revision as of 21:22, 9 February 2020

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