Load a specific file [y_ini].
#4

Because i'am what to check if file exist instantly load because i want to write everything to one string.

Код:
new BIGMIAU[ 2000 ];
new i = 0;
for( i = 0; i < MAX_PLAYERS; i ++)
{
if( IsPlayerConnected( i ) )
{	
format( String[ playerid ], 30,"offers/%d.ini", MIAU[ playerid ] );

						    if(fexist(String[ playerid ]))
							{
// HERE I NEED TO A LOAD WHAT IS IN offers/%d.ini FILE
// BECAUSE
format( BIGMIAU, 1999,"%s%d. %s %s .. other parametres",  BIGMIAU, MIAU[ playerid ], ... );
}
MIAU[ playerid ] ++;
}
}
ShowPlayerDialog(playerid,,, BIGMIAU );
Reply


Messages In This Thread
Load a specific file [y_ini]. - by Banditukas - 10.11.2014, 12:55
Re: Load a specific file [y_ini]. - by Private200 - 10.11.2014, 13:50
Re: Load a specific file [y_ini]. - by Banditukas - 10.11.2014, 14:51
Re: Load a specific file [y_ini]. - by Banditukas - 10.11.2014, 14:55

Forum Jump:


Users browsing this thread: 1 Guest(s)