You could use this :
PHP Code:
new const g_iMaxClip[CSW_P90+1] = {
-1, 13, -1, 10, 1, 7, 1, 30, 30, 1, 30,
20, 25, 30, 35, 25, 12, 20, 10, 30, 100,
8 , 30, 30, 20, 2, 7, 30, 30, -1, 50}
Then you could completly remove g_weapons and pass the weapon id like this to get maxclip :
g_iMaxClip[wpnindex]
__________________