MTA:Eir/FileSystem/file/stat: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
Line 4: Line 4:
==Syntax==
==Syntax==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
dictionary file.stat ()
dictionary file:stat ()
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 23:47, 16 January 2022

This function returns immediate statistics about this file/stream object. The output should be of same structure like that of translator.stat.

Syntax

dictionary file:stat ()

Returns

Returns a dictionary that contains the immediate file statistics.

Example

todo.

FileSystem File Functions