_GIVE_WEAPON_COLLECTION_TO_PED
Gives all weapons from the weapon collection weaponCollection to the ped.
Signature
void _GIVE_WEAPON_COLLECTION_TO_PED(Ped ped, Hash weaponCollection); // 0x899A04AFCC725D04 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | weaponCollection | Hash |
Facts
| Name | _GIVE_WEAPON_COLLECTION_TO_PED |
|---|---|
| Hash | 0x899A04AFCC725D04 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x899A04AFCC725D04, -- _GIVE_WEAPON_COLLECTION_TO_PED
PlayerPedId(), -- Ped ped
GetHashKey("weapon_revolver_cattleman") -- Hash weaponCollection
)Citizen.invokeNative("0x899A04AFCC725D04", // _GIVE_WEAPON_COLLECTION_TO_PED
PlayerPedId(), // Ped ped
GetHashKey("weapon_revolver_cattleman") // Hash weaponCollection
);Function.Call((Hash)0x899A04AFCC725D04, // _GIVE_WEAPON_COLLECTION_TO_PED
API.PlayerPedId(), // Ped ped
(uint)API.GetHashKey("weapon_revolver_cattleman") // Hash weaponCollection
);Related WEAPON natives
- _GIVE_WEAPON_COMPONENT_TO_WEAPON_OBJECT
- _GIVE_WEAPON_COMPONENT_TO_ENTITY
- _GET_WEAPON_FROM_DEFAULT_PED_WEAPON_COLLECTION
- GIVE_DELAYED_WEAPON_TO_PED
- GIVE_WEAPON_TO_PED
- GIVE_WEAPON_TO_PED_WITH_OPTIONS
- _GET_DEFAULT_PED_WEAPON_COLLECTION
- IS_PED_WEAPON_READY_TO_SHOOT
- _GET_AMMO_IN_PED_WEAPON_FROM_GUID
- _GET_BEST_PED_WEAPON_IN_GROUP
- _GET_BEST_PED_WEAPON_IN_INVENTORY
- _GET_CURRENT_PED_WEAPON_AMMO_TYPE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.