04.09.2012, 12:09
Quote:
Something like this?
I'm sure I've posted this command about 3 times to different people in the past week... ... |
pawn Code:
CMD:bugreport(playerid, params[])
{
if(IsNull(params))
{
SendClientMessage(playerid, -1, "USAGE: /bugreport [bug information]");
return 1;
}
new
File:Bugs;
Bugs = fopen( "bugs.txt", ( fexist("bugs.txt") ? io_append : io_write ) );
fwrite(Bugs, params);
fclose(Bugs);
SendClientMessage(playerid, -1, "Your bug has been submitted successfully! Thank you for your feedback.");
return 1;
}