RedM Natives

_0x678D3226CF70B9C8

Returns the entity (object/prop) that the ped is currently inspecting or about to interact with during an some item interaction sequence.

Hash0x678D3226CF70B9C8
Runtime nameN_0x678d3226cf70b9c8
NamespaceTASK
SideClient
NameHash only
Docs
Since build1207

Signature

Object _0x678D3226CF70B9C8(Ped ped, BOOL p1);

Parameters

NameTypeDescription
pedPed—
p1BOOL—

Returns Object

Description

Returns the entity (object/prop) that the ped is currently inspecting or about to interact with during an some item interaction sequence.
Only used in R* SP Script beat_washed_ashore
Returns Object prop for TASK::_TASK_ITEM_INTERACTION_2

Usage

Lua
local retval = N_0x678d3226cf70b9c8(ped, p1)

-- always works, by hash
local retval = Citizen.InvokeNative(0x678D3226CF70B9C8, ped, p1, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = N_0x678d3226cf70b9c8(ped, p1);

// by hash
const retval = Citizen.invokeNative('0x678D3226CF70B9C8', ped, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x678D3226CF70B9C8, ped, p1);
  • This native has no known name, so the runtime exposes it only as N_0x678d3226cf70b9c8 (if present in the client snapshot). InvokeNative with the hash always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.