_NET_RPC_GUID_TO_STRING
Converts the network RPC GUID netRpcGuid to a printable string, mainly for debugging.
Signature
const char* _NET_RPC_GUID_TO_STRING(Any* netRpcGuid); // 0xAC9FF854BD4BA9B5 b1311Parameters
| # | Name | Type |
|---|---|---|
| 1 | netRpcGuid | Any* (out pointer) |
Facts
| Name | _NET_RPC_GUID_TO_STRING |
|---|---|
| Hash | 0xAC9FF854BD4BA9B5 |
| Namespace | |
| Returns | const char* |
| Game build | 1311 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result, netRpcGuid = Citizen.InvokeNative(0xAC9FF854BD4BA9B5, -- _NET_RPC_GUID_TO_STRING
Citizen.PointerValueInt(), -- Any* netRpcGuid
Citizen.ResultAsString()
)
print(result, netRpcGuid)const [result, netRpcGuid] = Citizen.invokeNative("0xAC9FF854BD4BA9B5", // _NET_RPC_GUID_TO_STRING
Citizen.pointerValueInt(), // Any* netRpcGuid
Citizen.resultAsString()
);
console.log(result, netRpcGuid)var netRpcGuidArg = new OutputArgument();
string result = Function.Call<string>((Hash)0xAC9FF854BD4BA9B5, // _NET_RPC_GUID_TO_STRING
netRpcGuidArg // Any* netRpcGuid
);
int netRpcGuid = netRpcGuidArg.GetResult<int>();Related SCRIPT natives
- BAIL_TO_LANDING_PAGE
- _ACTIVATE_GOAL_CONTEXT
- _AWARDS_GET_UNLOCK_CLAIM_DATA
- _BG_RELOAD_ALL_BACKGROUND_SCRIPTS
- _CLEAR_ALL_PLAYER_BITS
- _CLEAR_PLAYER_BIT_AT_INDEX
- _DEACTIVATE_GOAL_CONTEXT
- _DISPLAY_LOADING_SCREENS
- _DOES_COMPRESSED_GLOBAL_BLOCK_BUFFER_EXIST
- _GET_GLOBAL_BLOCK_CAN_BE_ACCESSED
- _GET_HASH_OF_THREAD
- _GET_THREAD_EXIT_REASON
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.