Stats::statGetUserId: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Needs more research. Seems to return 'STAT_UNKNOWN' if no such user id exists.
Needs more research. Seems to return 'STAT_UNKNOWN' if no such user id exists.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">stats.statGetUserId(p0);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.stats.statGetUserId(p0);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''p0:''' unknown (to be checked)
*'''p0:''' unknown (to be checked)
Line 8: Line 8:
==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

Needs more research. Seems to return 'STAT_UNKNOWN' if no such user id exists.

Syntax

mp.game.stats.statGetUserId(p0);

Required Arguments

  • p0: unknown (to be checked)

Return value

  • String

Example

// todo

See also