FileGetPos: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Needs example)
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server function}}
{{Server client function}}


Returns the current read/write position in the given file.
Returns the current read/write position in the given file.

Revision as of 11:59, 13 September 2011

Returns the current read/write position in the given file.

Syntax

int fileGetPos ( file theFile )

Required Arguments

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

Returns

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

Example

--TODO

See Also