WEAPON

GET_CURRENT_PED_VEHICLE_WEAPON

0x1017582BCD3832DC Jenkins: 0xF26C5D65

Signature

// WEAPON
BOOL GET_CURRENT_PED_VEHICLE_WEAPON(Ped ped, Hash* weaponHash)

Parameters

Type Name
Ped ped
Hash* weaponHash

Return type BOOL

Build 323

Documentation

Example in VB Public Shared Function GetVehicleCurrentWeapon(Ped As Ped) As Integer Dim arg As New OutputArgument() Native.Function.Call(Hash.GET_CURRENT_PED_VEHICLE_WEAPON, Ped, arg) Return arg.GetResult(Of Integer)() End Function Usage: If GetVehicleCurrentWeapon(Game.Player.Character) = -821520672 Then ...Do something Note: -821520672 = VEHICLE_WEAPON_PLANE_ROCKET

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.