Function: GetPath

Synopsis

Gets the path of the file being requested.
This function should only be called in a Path Handler script.

Syntax

GetPath()

Examples

local CurrentPath = GetPath()

if ComparePaths(CurrentPath, "scripts\\missions\\rewards.mfk") then
	-- Do something based on it being the rewards file.
else
	-- Do something else, nothing probably with this example
end

Notes

No additional notes.

History

  

Unknown.


Revision #1
Created Mon, Oct 1, 2018 12:12 AM by Loren Goodwin
Updated Sun, Feb 17, 2019 7:44 AM by Loren Goodwin