MTA:Eir/FileSystem/file/readUShort: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ This function attempts to read an unsigned short (native type) from a file and returns it. The amount of bytes read should be two. ==Syntax== <syntaxhighlight lang="lua"> unsigned_sh...") |
(No difference)
|
Revision as of 16:45, 31 January 2014
This function attempts to read an unsigned short (native type) from a file and returns it. The amount of bytes read should be two.
Syntax
unsigned_short file.readUShort ()
Returns
Returns the unsigned short integer if it was successfully read from the file, false otherwise.
Example
todo.