Quote:
Originally Posted by Dwane
pawn Код:
CMD:create( playerid, params[ ] ) { new File1[ 20 ], File2[ 20 ], File1Msg[ 23 ], File2Msg[ 23 ];
if( sscanf( params, "s[20]s[20]", File1, File2 ) ) return SendClientMessage( playerid, -1, "Usage: /create <File1> <File2>" ); format( File1Msg, sizeof( File1Msg ), "%s.ini", File1 ); format( File2Msg, sizeof( File2Msg ), "%s.ini", File2 );
if( fexist( File1Msg ) ) // if File 1 exists, create the Second. { dini_Create( File2Msg ); dini_IntSet(File2Msg, "Something...HERE", 0); // An example } return 1; }
|
Where is this about? this is not really what i mean, since as ****** said, this loops trough all files right?