27.09.2017, 18:42
Quote:
also the next mistake is gPlayerAmmo[playerid][GetWeaponSlot(weaponid)] = ammo;
when you give a weapon to player in samp if he already has it the ammo will increase, so you have to "increase" the ammo rather than setting its value. gPlayerAmmo[playerid][GetWeaponSlot(weaponid)] += ammo; |
Thank you for pointing that out for me, I will try the both methods. Yours and AbyssMorgan's method.