Description: Returns if a script has been loaded into the game. Used to see if a script was loaded after requesting.
| Property | Value |
|---|---|
| Native Name | HAS_SCRIPT_LOADED |
| Hash | 0xE97BD36574F8B0A6 |
| Return Type | BOOL |
| Build | 1207 |
| Parameters | scriptName (char*) |
Parameters
scriptName(char*)
Usage
Lua (Direct):
local result = HasScriptLoaded(scriptName)
Lua (Hash):
local result = Citizen.InvokeNative(0xE97BD36574F8B0A6, scriptName)