UtfCode: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
(Added example)
 
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server client function}}
{{Server client function}}
{{Needs_Example}}
The function returns the UTF codes of the given string.
The function returns the UTF codes of the given string.


Line 14: Line 13:
===Returns===
===Returns===
Returns an ''[[int]]'' if the function was successful, ''false'' otherwise.
Returns an ''[[int]]'' if the function was successful, ''false'' otherwise.
===Example===
<section name="Example" class="both" show="true">
<syntaxhighlight lang="lua">
local theString = "UTF code"
outputChatBox(utfCode (theString))
</syntaxhighlight>
</section>


==See Also==
==See Also==
{{Utility_functions}}
{{Utility_functions}}

Latest revision as of 00:12, 4 July 2016