Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Custom Files > Custom Lua Functions > General Functions > GetFileName

GetFileName

Returns the file name of the specified path including the extension.

Syntax

GetFileName( <path> )
  • path: The path that you want to get the file name out of.

Examples

-- Returns "level.mfk"
GetFileName("scripts\\missions\\level01\\level.mfk")

Notes

No additional notes.

Version History

Unknown Version

Added this function.

Donut Team © 2020 · v4.0