{"hash":"0xA785A52B59B7E7B2","ns":"STATS","name":"CHAL_MISSION_GET_NUM_GOALS_COMPLETE","slug":"CHAL_MISSION_GET_NUM_GOALS_COMPLETE","official":true,"named":true,"luaName":"ChalMissionGetNumGoalsComplete","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"missionHash","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/STATS/CHAL_MISSION_GET_NUM_GOALS_COMPLETE","markdownUrl":"https://natives.borderlinerp.com/natives/STATS/CHAL_MISSION_GET_NUM_GOALS_COMPLETE.md","snippets":{"lua":"local retval = ChalMissionGetNumGoalsComplete(missionHash)","luaInvoke":"local retval = Citizen.InvokeNative(0xA785A52B59B7E7B2, missionHash, Citizen.ResultAsInteger())","js":"const retval = ChalMissionGetNumGoalsComplete(missionHash);","jsInvoke":"const retval = Citizen.invokeNative('0xA785A52B59B7E7B2', missionHash, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xA785A52B59B7E7B2, missionHash);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``."]}}