function fileRead (client-side)
Available since version: 0.3.2
This function will read the file at given path.
Declaration
string|null fileRead(int dirID, string filepath)
Parameters
intdirID: the game directory id, for more information see Dir constants.stringfilepath: the path to real filename, e.g:"DEFAULT-C.TEX", can contain subdirectories, e.g:"System/Gothic2.exe"
Returns string|null
Returns string, or null in case if file doesn't exists.