RedM Natives

_SET_PED_DESIRES_GROUP

Hash0xBAD2A311667A50D7
Runtime nameSetPedDesiresGroup
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_PED_DESIRES_GROUP(Ped ped, BOOL toggle);

Parameters

NameTypeDescription
pedPed—
toggleBOOL—

Returns void

Usage

Lua
SetPedDesiresGroup(ped, toggle)

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

// by hash
Citizen.invokeNative('0xBAD2A311667A50D7', ped, toggle);
C#
Function.Call((Hash)0xBAD2A311667A50D7, ped, 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.