fileGetPath
Client-side
 Server-side
 Shared
 This function retrieves the path of the given file.
OOP Syntax Help! I don't understand this!
- Method: file:getPath(...)
- Variable: .path
Syntax
string|false fileGetPath ( file theFile )Required Arguments
- theFile: The file you want to get the path.
Returns
- string|false: result
Returns a string representing the file path, false if invalid file was provided.
Code Examples
 shared   
 local newFile = fileCreate("test.txt")                -- attempt to create a new fileif (newFile) then                                       -- check if the creation succeeded    local path = fileGetPath(newFile)    outputChatBox("New file created at: "..path, root, 0, 255, 0)    fileClose(newFile)                                -- close the file once you're done with itend 
 