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...") |
|||
Line 12: | Line 12: | ||
== Related Pages == | == Related Pages == | ||
* [[ScriptHook: Script]] | * [[ScriptHook: Script]] | ||
+ | * [[ScriptHook.GetAllScripts]] | ||
[[Category:ScriptHook Lua]] | [[Category:ScriptHook Lua]] |
Latest revision as of 20:18, 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