Ui::getStreetNameFromHashKey: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
This functions converts the hash of a street name into a readable string.<br><br>For how to get the hashes, see PATHFIND::GET_STREET_NAME_AT_COORD.
This functions converts the hash of a street name into a readable string.<br><br>For how to get the hashes, see PATHFIND::GET_STREET_NAME_AT_COORD.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.getStreetNameFromHashKey(hash);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.getStreetNameFromHashKey(hash);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''hash:''' Model hash or name
*'''hash:''' Model hash or name
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Ui_function_c}}
{{Ui_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:34, 6 May 2017

This functions converts the hash of a street name into a readable string.

For how to get the hashes, see PATHFIND::GET_STREET_NAME_AT_COORD.

Syntax

mp.game.ui.getStreetNameFromHashKey(hash);

Required Arguments

  • hash: Model hash or name

Return value

  • String

Example

// todo

See also