FileGetSize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Server function}} Returns the total size in bytes of the given file. ==Syntax== <syntaxhighlight lang="lua"> int fileGetSize ( file theFile ) </syntaxhighlight> ===Required Arguments=== *'''theFile:'''...)
(No difference)

Revision as of 08:21, 16 January 2008

Returns the total size in bytes of the given file.

Syntax

int fileGetSize ( file theFile )

Required Arguments

  • theFile: the file handle you wish to get the size of.

Returns

Returns the file size if successful, or false if an error occured (e.g. an invalid file handle was passed).

Example

See Also