Detect if player has 2 primary weapons
^ Topic :)
|
Re: Detect if player has 2 primary weapons
First, check if player has a primary weapon, and if positive, save that weapon entity index.
// weapon offset #define m_pNext 42 // player offset #define m_rgpPlayerItems_slot1 368 new iFirstPrimaryWeapon = get_pdata_cbase(id, m_rgpPlayerItems_slot1, 5) Then, check if that weapon is linked with anither weapon : Code:
|
Re: Detect if player has 2 primary weapons
Thanks!
|
| All times are GMT -4. The time now is 15:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.