ScriptHook.GetScript

From Nomad DB
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

Related Pages