The Lab
TASK native

GET_ITEM_INTERACTION_PROMPT_PROGRESS

returns float2 paramsbuild 1207

Returns the progress of the item interaction prompt for inputContext on ped.

Signature

C
float GET_ITEM_INTERACTION_PROMPT_PROGRESS(Ped ped, Hash inputContext); // 0xBC864A70AD55E0C1 b1207

Parameters

#NameType
1pedPed
2inputContextHash

Facts

Facts about GET_ITEM_INTERACTION_PROMPT_PROGRESS
Name
GET_ITEM_INTERACTION_PROMPT_PROGRESS
Hash
0xBC864A70AD55E0C1
Namespace
Returns
float
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(0xBC864A70AD55E0C1, -- GET_ITEM_INTERACTION_PROMPT_PROGRESS
  PlayerPedId(), -- Ped ped
  GetHashKey("name"), -- Hash inputContext
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xBC864A70AD55E0C1", // GET_ITEM_INTERACTION_PROMPT_PROGRESS
  PlayerPedId(), // Ped ped
  GetHashKey("name"), // Hash inputContext
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0xBC864A70AD55E0C1, // GET_ITEM_INTERACTION_PROMPT_PROGRESS
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name") // Hash inputContext
);
All TASK natives

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