Native referenceRedMclient

_GET_BEST_PED_WEAPON_IN_GROUP

0x9F67929D98E7C6E8 WEAPON
FUNCTION SIGNATURE
Hash _GET_BEST_PED_WEAPON_IN_GROUP(Ped ped, Hash weaponGroup, BOOL p2, BOOL p3);
Property Value
Native Name _GET_BEST_PED_WEAPON_IN_GROUP
Hash 0x9F67929D98E7C6E8
Return Type Hash
Build 1207
API Set client
Parameters ped (Ped), weaponGroup (Hash), p2 (BOOL), p3 (BOOL)

Description: If near your horse when called, weapons stored on your horse will be considered Returns weaponHash

Usage

Lua (Direct):

local result = GetBestPedWeaponInGroup(ped, weaponGroup, p2, p3)

Lua (Hash):

local result = Citizen.InvokeNative(0x9F67929D98E7C6E8, ped, weaponGroup, p2, p3)
Back to WEAPON