RedM Natives

SET_THIS_SCRIPT_CAN_BE_PAUSED

Hash0x3215376E79F6EA18
Runtime nameSetThisScriptCanBePaused
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xAA391C728106F7AF

Signature

void SET_THIS_SCRIPT_CAN_BE_PAUSED(BOOL toggle);

Parameters

NameTypeDescription
toggleBOOL—

Returns void

Usage

Lua
SetThisScriptCanBePaused(toggle)

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

// by hash
Citizen.invokeNative('0x3215376E79F6EA18', toggle);
C#
Function.Call((Hash)0x3215376E79F6EA18, toggle);

Sources

alloc8or RDR3 NativeDB

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