RedM Natives

SET_PED_KEEP_TASK

Hash0x971D38760FBC02EF
Runtime nameSetPedKeepTask
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x971D38760FBC02EF

Signature

void SET_PED_KEEP_TASK(Ped ped, BOOL toggle);

Parameters

NameTypeDescription
pedPed—
toggleBOOL—

Returns void

Usage

Lua
SetPedKeepTask(ped, toggle)

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

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

Sources

alloc8or RDR3 NativeDB

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