29.09.2010, 20:29
Ryder, you may also want to add this check under the first loop because GetPlayerAmmo is bugged, which is what GetPlayerWeaponData uses. (This is because if you give a player a negative amount of ammo, the weapon will show in their inventory, but they can't use it. Once you switch to it, it'll reset you to fist)
pawn Код:
if(gWeaponData[i][1] < 0)
{
gWeaponData[i][1] = gWeaponData[i][1] * -1;
}