GET_WEAPONTYPE_GROUP
Returns the weapon group hash of the weapon weaponHash.
Signature
Hash GET_WEAPONTYPE_GROUP(Hash weaponHash); // 0xEDCA14CA5199FF25 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | weaponHash | Hash |
Facts
| Name | GET_WEAPONTYPE_GROUP |
|---|---|
| Hash | 0xEDCA14CA5199FF25 |
| Namespace | |
| Returns | Hash |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local hash = Citizen.InvokeNative(0xEDCA14CA5199FF25, -- GET_WEAPONTYPE_GROUP
GetHashKey("weapon_revolver_cattleman"), -- Hash weaponHash
Citizen.ResultAsInteger()
)
print(hash)const hash = Citizen.invokeNative("0xEDCA14CA5199FF25", // GET_WEAPONTYPE_GROUP
GetHashKey("weapon_revolver_cattleman"), // Hash weaponHash
Citizen.resultAsInteger()
);
console.log(hash)int hash = Function.Call<int>((Hash)0xEDCA14CA5199FF25, // GET_WEAPONTYPE_GROUP
(uint)API.GetHashKey("weapon_revolver_cattleman") // Hash weaponHash
);Related WEAPON natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.