setThisIsATriggerScript
SET_THIS_IS_A_TRIGGER_SCRIPT0x6F2135B6129620C1The GTA V native SET_THIS_IS_A_TRIGGER_SCRIPT of the MISC namespace, as LS:MP client scripts call it: the global function setThisIsATriggerScript, in JavaScript and in Lua.
setThisIsATriggerScript(toggle: boolean): voidsetThisIsATriggerScript(toggle: boolean)Usage
JavaScript
setThisIsATriggerScript(toggle);Lua
setThisIsATriggerScript(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Misc MISC
- In the game
void SET_THIS_IS_A_TRIGGER_SCRIPT(BOOL toggle)- Hash
0x6F2135B6129620C1