Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static const WeaponSlots[] =
- {
- 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 10, 10, 10, 10, 10,
- 10, 8, 8, 8, 0, 0, 0, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5,
- 4, 6, 6, 7, 7, 7, 7, 8, 12, 9, 9, 9, 11, 11, 11
- };
- //Использование:
- //Было
- if(GetWeaponSlot(weaponid) == 7) //bla-bla-bla
- //Стало
- if(WeaponSlots[weaponid] == 7) //bla-bla-bla
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement