06.04.2014, 15:18
pawn Code:
for(new w = 0; w < 13; w++)
{
format(fieldname, sizeof(fieldname), "Weapon%d", w);
MySQL_SetInteger(PlayerSQLID[playerid], fieldname, PlayerWeapons[playerid][w], "accounts");
ammo = WepAmmo[PlayerWeapons[playerid][w]];
MySQL_SetInteger(PlayerWeapons[playerid][w], "WepAmmo", ammo, "weapons");
}
I'm trying to get the ammo.
I load Weapons Seperately.