_GET_COMPANION_ACTIVITY
Returns the hash of the activity currently assigned to the companion group groupId.
Signature
Hash _GET_COMPANION_ACTIVITY(int groupId); // 0xB7E0590C86E1711F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | groupId | int |
Facts
| Name | _GET_COMPANION_ACTIVITY |
|---|---|
| Hash | 0xB7E0590C86E1711F |
| Namespace | |
| Returns | Hash |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local hash = Citizen.InvokeNative(0xB7E0590C86E1711F, -- _GET_COMPANION_ACTIVITY
0, -- int groupId
Citizen.ResultAsInteger()
)
print(hash)const hash = Citizen.invokeNative("0xB7E0590C86E1711F", // _GET_COMPANION_ACTIVITY
0, // int groupId
Citizen.resultAsInteger()
);
console.log(hash)int hash = Function.Call<int>((Hash)0xB7E0590C86E1711F, // _GET_COMPANION_ACTIVITY
0 // int groupId
);Related COMPANION natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.