Gets the path of the file being requested.
This function should only be called in a Path Handler script.
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
No additional notes.