_GET_COMPANION_ACTIVITY
Hash
0xB7E0590C86E1711FRuntime name
GetCompanionActivityNamespaceCOMPANION
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Hash _GET_COMPANION_ACTIVITY(int groupId);Parameters
| Name | Type | Description |
|---|---|---|
groupId | int | — |
Returns Hash
Description
enum _0x18F77396
Usage
local retval = GetCompanionActivity(groupId)
-- always works, by hash
local retval = Citizen.InvokeNative(0xB7E0590C86E1711F, groupId, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetCompanionActivity(groupId);
// by hash
const retval = Citizen.invokeNative('0xB7E0590C86E1711F', groupId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xB7E0590C86E1711F, groupId);- 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.