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