20.03.2013, 16:40
so is this code good now?
pawn Code:
new tmp[ 64 ];
mysql_fetch_field_row( fetch, "Ginklas0" );
mysql_fetch_field_row( tmp, "Ammo0" );
GivePlayerWeapon( playerid, strval(fetch), strval(tmp));
mysql_fetch_field_row( fetch, "Ginklas1" );
mysql_fetch_field_row( tmp, "Ammo1" );
GivePlayerWeapon( playerid, strval(fetch), strval(tmp));
mysql_fetch_field_row( fetch, "Ginklas2" );
mysql_fetch_field_row( tmp, "Ammo2" );
GivePlayerWeapon( playerid, strval(fetch), strval(tmp));
mysql_fetch_field_row( fetch, "Ginklas3" );
mysql_fetch_field_row( tmp, "Ammo3" );
GivePlayerWeapon( playerid, strval(fetch), strval(tmp));
mysql_fetch_field_row( fetch, "Ginklas4" );
mysql_fetch_field_row( tmp, "Ammo4" );
GivePlayerWeapon( playerid, strval(fetch), strval(tmp));
mysql_fetch_field_row( fetch, "Ginklas5" );
mysql_fetch_field_row( tmp, "Ammo5" );
GivePlayerWeapon( playerid, strval(fetch), strval(tmp));
mysql_fetch_field_row( fetch, "Ginklas6" );
mysql_fetch_field_row( tmp, "Ammo6" );
GivePlayerWeapon( playerid, strval(fetch), strval(tmp));
mysql_fetch_field_row( fetch, "Ginklas7" );
mysql_fetch_field_row( tmp, "Ammo7" );
GivePlayerWeapon( playerid, strval(fetch), strval(tmp));
mysql_fetch_field_row( fetch, "Ginklas8" );
mysql_fetch_field_row( tmp, "Ammo8" );
GivePlayerWeapon( playerid, strval(fetch), strval(tmp));
mysql_fetch_field_row( fetch, "Ginklas9" );
mysql_fetch_field_row( tmp, "Ammo9" );
GivePlayerWeapon( playerid, strval(fetch), strval(tmp));
mysql_fetch_field_row( fetch, "Ginklas10" );
mysql_fetch_field_row( tmp, "Ammo10" );
GivePlayerWeapon( playerid, strval(fetch), strval(tmp));
mysql_fetch_field_row( fetch, "Ginklas11" );
mysql_fetch_field_row( tmp, "Ammo11" );
GivePlayerWeapon( playerid, strval(fetch), strval(tmp));

