RedM Natives

_PAUSE_SCRIPT_THREADS

Pauses all script threads except the one that called it.

Hash0x37C1257849DEF24A
Runtime namePauseScriptThreads
NamespaceANIMSCENE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _PAUSE_SCRIPT_THREADS(BOOL toggle);

Parameters

NameTypeDescription
toggleBOOL—

Returns void

Description

Pauses all script threads except the one that called it.

Usage

Lua
PauseScriptThreads(toggle)

-- always works, by hash
Citizen.InvokeNative(0x37C1257849DEF24A, toggle)
JavaScript and C#
JavaScript
PauseScriptThreads(toggle);

// by hash
Citizen.invokeNative('0x37C1257849DEF24A', toggle);
C#
Function.Call((Hash)0x37C1257849DEF24A, toggle);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.