RedM Natives

TASK_SET_BLOCKING_OF_NON_TEMPORARY_EVENTS

Hash0x90D2156198831D69
Runtime nameTaskSetBlockingOfNonTemporaryEvents
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x90D2156198831D69

Signature

void TASK_SET_BLOCKING_OF_NON_TEMPORARY_EVENTS(Ped ped, BOOL toggle);

Parameters

NameTypeDescription
pedPed—
toggleBOOL—

Returns void

Usage

Lua
TaskSetBlockingOfNonTemporaryEvents(ped, toggle)

-- always works, by hash
Citizen.InvokeNative(0x90D2156198831D69, ped, toggle)
JavaScript and C#
JavaScript
TaskSetBlockingOfNonTemporaryEvents(ped, toggle);

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

Sources

alloc8or RDR3 NativeDB

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