{"hash":"0x44B0E5E2","ns":"CFX","name":"GET_PED_SCRIPT_TASK_STAGE","slug":"GET_PED_SCRIPT_TASK_STAGE","official":true,"named":true,"luaName":"GetPedScriptTaskStage","game":"cfx","apiset":"server","returnType":"int","params":[{"name":"ped","type":"Ped","description":"The target ped."}],"returnsDescription":"The stage of the ped's scripted task. A value of 3 denotes no script task is assigned.","summary":"Gets the stage of the peds scripted task.","descriptions":[{"source":"cfx","format":"md","body":"Gets the stage of the peds scripted task."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_PED_SCRIPT_TASK_STAGE","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_PED_SCRIPT_TASK_STAGE.md","snippets":{"lua":"local retval = GetPedScriptTaskStage(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x44b0e5e2, ped, Citizen.ResultAsInteger())","js":"const retval = GetPedScriptTaskStage(ped);","jsInvoke":"const retval = Citizen.invokeNative('0x44b0e5e2', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x44b0e5e2, ped);","notes":[]}}