Array in y_ini
#3

Thanks. So is there any way to:
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]);
Is there any way to create array for those Weapon1, Weapon2...

Like:

pawn Код:
INI_Int("Weapon[1]", pInfo[playerid][Weapons][1]);
Reply


Messages In This Thread
Array in y_ini - by RedJohn - 05.08.2013, 22:27
Re: Array in y_ini - by Ada32 - 05.08.2013, 22:34
Re: Array in y_ini - by RedJohn - 05.08.2013, 22:38
Re: Array in y_ini - by Ada32 - 05.08.2013, 22:49
Re: Array in y_ini - by RedJohn - 05.08.2013, 22:52
Re: Array in y_ini - by RedJohn - 05.08.2013, 23:14
Re: Array in y_ini - by Jefff - 05.08.2013, 23:14

Forum Jump:


Users browsing this thread: 1 Guest(s)