_0x678D3226CF70B9C8
Returns the entity (object/prop) that the ped is currently inspecting or about to interact with during an some item interaction sequence.
Hash
0x678D3226CF70B9C8Runtime name
N_0x678d3226cf70b9c8NamespaceTASK
SideClient
NameHash only
Docs
Since build1207
Signature
Object _0x678D3226CF70B9C8(Ped ped, BOOL p1);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | BOOL | — |
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
local retval = N_0x678d3226cf70b9c8(ped, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0x678D3226CF70B9C8, ped, p1, Citizen.ResultAsInteger())JavaScript and C#
const retval = N_0x678d3226cf70b9c8(ped, p1);
// by hash
const retval = Citizen.invokeNative('0x678D3226CF70B9C8', ped, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());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).InvokeNativewith the hash always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.