ScriptHook.GetScript
From Nomad DB
Revision as of 20:18, 8 October 2021 by Administrator (talk | contribs)
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