Array in y_ini
#7

pawn Код:
new str[12];
    for(new d=0; d != 13; d++)
    {
        if(d != 8)
            format(str,sizeof(str),"Weapon[%d]",d);
        else
            format(str,sizeof(str),"Weapon[%d]",d+1);

        INI_Int(str, pInfo[playerid][Weapons][d]);
    }
like that ?
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: 2 Guest(s)