_ADD_COMPANION_FLAG
Used for Script Function NET_FETCH_CLIENT_ACTIVATE_COMAPNION_ANALYSIS: Hiding!
Hash
0xDEB369F6AD168C58Runtime name
AddCompanionFlagNamespaceCOMPANION
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _ADD_COMPANION_FLAG(Ped ped, int p1);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | int | — |
Returns void
Description
Used for Script Function NET_FETCH_CLIENT_ACTIVATE_COMAPNION_ANALYSIS: Hiding! Ped
Usage
AddCompanionFlag(ped, p1)
-- always works, by hash
Citizen.InvokeNative(0xDEB369F6AD168C58, ped, p1)JavaScript and C#
AddCompanionFlag(ped, p1);
// by hash
Citizen.invokeNative('0xDEB369F6AD168C58', ped, p1);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
InvokeNativewith the hash — it always works.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.