26.01.2015, 22:54
pawn Код:
for(new w = 0; w < 13; w++)
{
new string[12];
format(string, sizeof(string), "Weapon%d", w);
mysql_get_field(string, QueryString);
PlayerWeapons[playerid][w] = strval(QueryString);
printf("Slot: %d, Weapon SQLID: %d, WeaponINDEX: %d",w , PlayerWeapons[playerid][w],GetWepIndexFromSQL(PlayerWeapons[playerid][w]));
}