Stats::statSetBool: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">stats.statSetBool(statName, value, save);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.stats.statSetBool(statName, value, save);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''statName:''' Model hash or name
*'''statName:''' Model hash or name
Line 10: Line 10:
==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:31, 6 May 2017

Syntax

mp.game.stats.statSetBool(statName, value, save);

Required Arguments

  • statName: Model hash or name
  • value: Boolean
  • save: Boolean

Return value

  • Boolean

Example

// todo

See also