Weapons MySQL loading
#5

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));
Reply


Messages In This Thread
Weapons MySQL loading - by ancezas - 20.03.2013, 16:16
Re: Weapons MySQL loading - by Patrick - 20.03.2013, 16:18
Re: Weapons MySQL loading - by ancezas - 20.03.2013, 16:24
Re: Weapons MySQL loading - by Misiur - 20.03.2013, 16:24
Re: Weapons MySQL loading - by ancezas - 20.03.2013, 16:40
Re: Weapons MySQL loading - by Patrick - 20.03.2013, 16:46
Re: Weapons MySQL loading - by Misiur - 20.03.2013, 16:46
Re: Weapons MySQL loading - by ancezas - 20.03.2013, 16:51

Forum Jump:


Users browsing this thread: 1 Guest(s)