Quick help, looping through saved names
#1

Alright, i need help, can't figure out a way to loop through the names and check a variable in it, i save the names like this:

pawn Код:
format(gangfile, 128, "Gangs/%s.ini", format(gangNames[gangnum], MAX_GANG_NAME, "%s", params));
Dunno if its right, correct me if im wrong.

trying toread like this

pawn Код:
if(dini_Int("Gangs/%s.ini","Members") < MAX_GANG_MEMBERS)
but thats definately wrong, please some help..

EDIT: "i" is defined like this:

for(new i = 1; i < MAX_GANGS; i++)
{
Reply


Messages In This Thread
Quick help, looping through saved names(files) [NOT SOLVED PLEASE HELP] - by 0ne - 31.10.2010, 18:05
Re: Quick help, looping through saved names - by Jefff - 31.10.2010, 18:55
Re: Quick help, looping through saved names - by 0ne - 31.10.2010, 19:01
Re: Quick help, looping through saved names - by 0ne - 01.11.2010, 10:19
Re: Quick help, looping through saved names - by 0ne - 02.11.2010, 14:26
Re: Quick help, looping through saved names - by 0ne - 03.11.2010, 14:22
Re: Quick help, looping through saved names - by LarzI - 03.11.2010, 14:51
Re: Quick help, looping through saved names - by 0ne - 03.11.2010, 15:24
Re: Quick help, looping through saved names - by Miguel - 03.11.2010, 15:59
Re: Quick help, looping through saved names - by 0ne - 03.11.2010, 16:12
Re: Quick help, looping through saved names - by Miguel - 03.11.2010, 16:22
Re: Quick help, looping through saved names - by 0ne - 03.11.2010, 16:52
Re: Quick help, looping through saved names - by Miguel - 03.11.2010, 18:32
Re: Quick help, looping through saved names - by 0ne - 04.11.2010, 19:25

Forum Jump:


Users browsing this thread: 3 Guest(s)