The Lab
NETWORK native

NETWORK_ACTION_PLATFORM_INVITE

returns BOOL0 paramsbuild 1207

Acts on the pending platform invite. Returns true on success.

Signature

C
BOOL NETWORK_ACTION_PLATFORM_INVITE(); // 0x3B82ACC3F4B6240C b1207

Parameters

This native takes no parameters.

Facts

Facts about NETWORK_ACTION_PLATFORM_INVITE
Name
NETWORK_ACTION_PLATFORM_INVITE
Hash
0x3B82ACC3F4B6240C
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x3B82ACC3F4B6240C) -- NETWORK_ACTION_PLATFORM_INVITE
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x3B82ACC3F4B6240C", // NETWORK_ACTION_PLATFORM_INVITE
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x3B82ACC3F4B6240C); // NETWORK_ACTION_PLATFORM_INVITE
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.