This is giving me the same weapon 12 times.
#4

Quote:
Originally Posted by Dokins
Посмотреть сообщение
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);
                }
Are you sure it load correctly ?

Try to show output of " printf("WeaponID: %d", id); "
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)