RedM Natives

_ADD_COMPANION_FLAG

Used for Script Function NET_FETCH_CLIENT_ACTIVATE_COMAPNION_ANALYSIS: Hiding!

Hash0xDEB369F6AD168C58
Runtime nameAddCompanionFlag
NamespaceCOMPANION
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _ADD_COMPANION_FLAG(Ped ped, int p1);

Parameters

NameTypeDescription
pedPed—
p1int—

Returns void

Description

Used for Script Function NET_FETCH_CLIENT_ACTIVATE_COMAPNION_ANALYSIS: Hiding! Ped

Usage

Lua
AddCompanionFlag(ped, p1)

-- always works, by hash
Citizen.InvokeNative(0xDEB369F6AD168C58, ped, p1)
JavaScript and C#
JavaScript
AddCompanionFlag(ped, p1);

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

See also

Sources

alloc8or RDR3 NativeDB

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