ScriptHook.GetScript
From Nomad DB
Revision as of 20:16, 8 October 2021 by Administrator (talk | contribs) (Created page with "{{Page_MDE}} {{Warning|This function is only available in Mafia DE ScriptHook version 1.1.2+}} Access a Script Table of a different Script. This a...")
This function is only available in Mafia DE ScriptHook version 1.1.2+
Access a Script Table of a different Script. This allows different mods to exchange data and call methods.
Syntax
ScriptHook.GetScript(name)
- name (string) Name of the other Script (directory name!)
- Returns: Script Table