{"hash":"0xB0237302","ns":"CFX","name":"GET_CURRENT_PED_WEAPON","slug":"GET_CURRENT_PED_WEAPON","official":true,"named":true,"luaName":"GetCurrentPedWeapon","game":"cfx","apiset":"server","returnType":"Hash","params":[{"name":"ped","type":"Ped","description":"The target ped."}],"returnsDescription":"The weapon hash.","summary":"Returns the hash of weapon the Ped is currently using.","descriptions":[{"source":"cfx","format":"md","body":"Returns the hash of weapon the Ped is currently using."}],"examples":[],"aliases":[],"enums":[],"related":["0xB8278882"],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_CURRENT_PED_WEAPON","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_CURRENT_PED_WEAPON.md","snippets":{"lua":"local retval = GetCurrentPedWeapon(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0xb0237302, ped, Citizen.ResultAsInteger())","js":"const retval = GetCurrentPedWeapon(ped);","jsInvoke":"const retval = Citizen.invokeNative('0xb0237302', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xb0237302, ped);","notes":[]}}