Stats::statGetString: Difference between revisions

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

Syntax

mp.game.stats.statGetString(statHash, p1);

Required Arguments

  • statHash: Model hash or name
  • p1: int

Return value

  • String

Example

// todo

See also