Stats::statSetProfileSetting: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Does not take effect immediately, unfortunately.<br><br>profileSetting seems to only be 936, 937 and 938 in scripts
Does not take effect immediately, unfortunately.<br><br>profileSetting seems to only be 936, 937 and 938 in scripts
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">stats.statSetProfileSetting(profileSetting, value);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.stats.statSetProfileSetting(profileSetting, value);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''profileSetting:''' int
*'''profileSetting:''' int
Line 9: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Stats_function_c}}
{{Stats_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:32, 6 May 2017

Does not take effect immediately, unfortunately.

profileSetting seems to only be 936, 937 and 938 in scripts

Syntax

mp.game.stats.statSetProfileSetting(profileSetting, value);

Required Arguments

  • profileSetting: int
  • value: int

Return value

  • Undefined

Example

// todo

See also