GetScriptPath
Returns the full file path of the script at index ScriptIndex.
Returns an empty string if no script with the given index exists.
Возвращает полный путь к файлу скрипта с индексом ScriptIndex.
Возвращает пустую строку, если скрипт с данным индексом не существует.
function GetScriptPath(ScriptIndex: Word): String;
def GetScriptPath(ScriptIndex: int) -> str: ...
begin
AddToSystemJournal('Script path: ' + GetScriptPath(0));
end.
AddToSystemJournal(f'Script path: {GetScriptPath(0)}')
GetScriptName, GetScriptState, GetScriptsCount, GetScriptsList