Difference between revisions of "ScriptHook.GetScript"
From Nomad DB
(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...") |
(No difference)
|
Revision as of 20:16, 8 October 2021
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