12.09.2012, 08:07
It's very simple
pawn Код:
// Command
CMD:bugreport(playerid) return ShowPlayerDialog( playerid, ... );
// Dialog
if(!response) return ( 0 );
new
File:_File = fopen( "BugReports.txt", io_append ),
String[500]
;
if( ( _File ) )
{
format( String, 500, "[BUG REPORT]: %s.\r\n", inputtext );
fwrite( ( _File ), String );
fclose( ( _File ) );
}