utfCode | Multi Theft Auto: Wiki Skip to content

utfCode

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


The function returns the UTF codes of the given string.

Syntax

int utfCode ( string theString )
Required Arguments
  • theString: The string to get the UTF code of.

Returns

  • int: value

Returns an int if the function was successful, false otherwise.

Code Examples

shared
local theString = "UTF code"
outputChatBox(utfCode (theString))