Stats::statSetCurrentPosixTime: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
p1 always true.
p1 always true.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">stats.statSetCurrentPosixTime(statName, p1);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.stats.statSetCurrentPosixTime(statName, p1);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''statName:''' Model hash or name
*'''statName:''' Model hash or name
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

p1 always true.

Syntax

mp.game.stats.statSetCurrentPosixTime(statName, p1);

Required Arguments

  • statName: Model hash or name
  • p1: Boolean

Return value

  • Boolean

Example

// todo

See also