Modules/FileSystem/file/readUInt: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<pageclass class="#3cc882" subcaption="File function"></pageclass
<pageclass class="#3cc882" subcaption="File function"></pageclass>
__NOTOC__
__NOTOC__
This function attempts to read an unsigned integer (native type) from a file and returns it. The amount of bytes read should be four.
This function attempts to read an unsigned integer (native type) from a file and returns it. The amount of bytes read should be four.

Latest revision as of 03:03, 23 January 2022

This function attempts to read an unsigned integer (native type) from a file and returns it. The amount of bytes read should be four.

Syntax

unsigned_int file:readUInt ()

Returns

Returns an unsigned integer if it was successfully read from the file, false otherwise.

Example

todo.

FileSystem File Functions