Ui::getLengthOfStringWithThisTextLabel: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
Returns the string length of the string from the gxt string .
Returns the string length of the string from the gxt string .
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.getLengthOfStringWithThisTextLabel(gxt);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.getLengthOfStringWithThisTextLabel(gxt);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''gxt:''' String
*'''gxt:''' String
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:33, 6 May 2017

Returns the string length of the string from the gxt string .

Syntax

mp.game.ui.getLengthOfStringWithThisTextLabel(gxt);

Required Arguments

  • gxt: String

Return value

  • int

Example

// todo

See also