WEAPON
GET_WEAPON_CLIP_SIZE
0x583BE370B1EC6EB4
Jenkins: 0x8D515E66
Signature
// WEAPON
int GET_WEAPON_CLIP_SIZE(Hash weaponHash)
Parameters
| Type | Name |
|---|---|
| Hash | weaponHash |
Return type int
Build 323
Documentation
// Returns the size of the default weapon component clip. Use it like this: char cClipSize[32]; Hash cur; if (WEAPON::GET_CURRENT_PED_WEAPON(playerPed, &cur, 1)) { if (WEAPON::IS_WEAPON_VALID(cur)) { int iClipSize = WEAPON::GET_WEAPON_CLIP_SIZE(cur); sprintf_s(cClipSize, "ClipSize: %.d", iClipSize); vDrawString(cClipSize, 0.5f, 0.5f); } } Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json
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.