RedM Natives

SET_BLOCKING_OF_NON_TEMPORARY_EVENTS

Hash0x9F8AA94D6D97DBF4
Runtime nameSetBlockingOfNonTemporaryEvents
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x9F8AA94D6D97DBF4

Signature

void SET_BLOCKING_OF_NON_TEMPORARY_EVENTS(Ped ped, BOOL toggle);

Parameters

NameTypeDescription
pedPed—
toggleBOOL—

Returns void

Usage

Lua
SetBlockingOfNonTemporaryEvents(ped, toggle)

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

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

See also

Sources

alloc8or RDR3 NativeDB

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