Saving This?
#2

You could use a simple loop:

pawn Код:
new str[5];

for(new i; i < 15; i++)
{
    format(str, sizeof(str), "Job%d", i);

    INI_WriteInt(File, str, PlayerFiles[playerid][pJobs[i]]);
}
Hope that helps.
Reply


Messages In This Thread
Saving This? - by Mento - 08.05.2012, 01:23
Re: Saving This? - by JaTochNietDan - 08.05.2012, 01:29
Re: Saving This? - by Mento - 08.05.2012, 01:47
Re: Saving This? - by JaTochNietDan - 08.05.2012, 01:48
Re: Saving This? - by Mento - 08.05.2012, 01:49
Re: Saving This? - by ReneG - 08.05.2012, 02:18

Forum Jump:


Users browsing this thread: 2 Guest(s)