{"hash":"0xEB1C67C3A5333A92","ns":"SCRIPT","name":"START_NEW_SCRIPT_WITH_NAME_HASH","slug":"START_NEW_SCRIPT_WITH_NAME_HASH","official":true,"named":true,"luaName":"StartNewScriptWithNameHash","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"scriptHash","type":"Hash"},{"name":"stackSize","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xEB1C67C3A5333A92","gtaJhash":"0x8D15BE5D","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/SCRIPT/START_NEW_SCRIPT_WITH_NAME_HASH","markdownUrl":"https://natives.borderlinerp.com/natives/SCRIPT/START_NEW_SCRIPT_WITH_NAME_HASH.md","snippets":{"lua":"local retval = StartNewScriptWithNameHash(scriptHash, stackSize)","luaInvoke":"local retval = Citizen.InvokeNative(0xEB1C67C3A5333A92, scriptHash, stackSize, Citizen.ResultAsInteger())","js":"const retval = StartNewScriptWithNameHash(scriptHash, stackSize);","jsInvoke":"const retval = Citizen.invokeNative('0xEB1C67C3A5333A92', scriptHash, stackSize, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xEB1C67C3A5333A92, scriptHash, stackSize);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``."]}}