Gameplay::getHashKey: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
This native converts its past string to hash. It is hashed using jenkins one at a time method.
This native converts its past string to hash. It is hashed using jenkins one at a time method.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">gameplay.getHashKey(value);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.gameplay.getHashKey(value);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''value:''' String
*'''value:''' String
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Gameplay_function_c}}
{{Gameplay_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:12, 6 May 2017

This native converts its past string to hash. It is hashed using jenkins one at a time method.

Syntax

mp.game.gameplay.getHashKey(value);

Required Arguments

  • value: String

Return value

  • Model hash or name

Example

// todo

See also

Template:Gameplay s function c