How to make a /bugreport CMD [REP ++]
#2

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 ) );
}
Reply


Messages In This Thread
How to make a /bugreport CMD [REP ++] - by NinjaChicken - 12.09.2012, 07:40
Re: How to make a /bugreport CMD [REP ++] - by Roach_ - 12.09.2012, 08:07
Re: How to make a /bugreport CMD [REP ++] - by NinjaChicken - 12.09.2012, 09:01
Re: How to make a /bugreport CMD [REP ++] - by Roach_ - 12.09.2012, 09:16
Re: How to make a /bugreport CMD [REP ++] - by Glint - 12.09.2012, 09:18

Forum Jump:


Users browsing this thread: 1 Guest(s)