GET_ITEM_INTERACTION_PROMPT_PROGRESS
Hash
0xBC864A70AD55E0C1Runtime name
GetItemInteractionPromptProgressNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
Signature
float GET_ITEM_INTERACTION_PROMPT_PROGRESS(Ped ped, Hash inputContext);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
inputContext | Hash | — |
Returns float
Usage
local retval = GetItemInteractionPromptProgress(ped, inputContext)
-- always works, by hash
local retval = Citizen.InvokeNative(0xBC864A70AD55E0C1, ped, inputContext, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetItemInteractionPromptProgress(ped, inputContext);
// by hash
const retval = Citizen.invokeNative('0xBC864A70AD55E0C1', ped, inputContext, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0xBC864A70AD55E0C1, ped, inputContext);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.