_REMOVE_COMPANION_FLAG
Based on its name and signature, here is our best reading:
Clears a companion-related flag p1 from ped. The meaning of individual flag values is not documented.
Signature
void _REMOVE_COMPANION_FLAG(Ped ped, int p1); // 0x1740E3DEE0AE4D27 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | p1 | int |
Facts
| Name | _REMOVE_COMPANION_FLAG |
|---|---|
| Hash | 0x1740E3DEE0AE4D27 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x1740E3DEE0AE4D27, -- _REMOVE_COMPANION_FLAG
PlayerPedId(), -- Ped ped
0 -- int p1
)Citizen.invokeNative("0x1740E3DEE0AE4D27", // _REMOVE_COMPANION_FLAG
PlayerPedId(), // Ped ped
0 // int p1
);Function.Call((Hash)0x1740E3DEE0AE4D27, // _REMOVE_COMPANION_FLAG
API.PlayerPedId(), // Ped ped
0 // int p1
);Related COMPANION natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.