05.08.2013, 22:38
Thanks. So is there any way to:
Is there any way to create array for those Weapon1, Weapon2...
Like:
pawn Код:
INI_Int("Weapon0", pInfo[playerid][Weapons][0]);
INI_Int("Weapon1", pInfo[playerid][Weapons][1]);
INI_Int("Weapon2", pInfo[playerid][Weapons][2]);
INI_Int("Weapon3", pInfo[playerid][Weapons][3]);
INI_Int("Weapon4", pInfo[playerid][Weapons][4]);
INI_Int("Weapon5", pInfo[playerid][Weapons][5]);
INI_Int("Weapon6", pInfo[playerid][Weapons][6]);
INI_Int("Weapon7", pInfo[playerid][Weapons][7]);
INI_Int("Weapon9", pInfo[playerid][Weapons][8]);
INI_Int("Weapon10", pInfo[playerid][Weapons][9]);
INI_Int("Weapon11", pInfo[playerid][Weapons][10]);
INI_Int("Weapon12", pInfo[playerid][Weapons][11]);
INI_Int("Weapon13", pInfo[playerid][Weapons][12]);
Like:
pawn Код:
INI_Int("Weapon[1]", pInfo[playerid][Weapons][1]);