/report - Adding Date and Time when a player does /report ?
#1

I have this /report command:
http://pastebin.com/f5a9d976f
now I want to make that on this line:
pawn Code:
SendClientMessage(playerid, COLOR_GRAD1, "Your report was sent to the admins, please be patient.");
I want it to be something like:
pawn Code:
SendClientMessage(playerid, COLOR_GRAD1, "Your report was sent to the admins, DD/MM/YYY HH:MM:SS");
so it would work with 24Hours Clock....
Reply
#2

pawn Code:
new hour, minutes, seconds, year, month, day;
Gettime(hour, minutes, seconds);
Getdate(year, month, day);
format(string, sizeof(string), "Report from: [ID:%d]%s, Reported player: [ID:%d]%s, Date: %d/%d/%d, Time: %d:%d:%d", playerid, sendername, giveplayerid, giveplayer, day, month, year, hour, minutes, seconds);
Reply
#3

Thanks
Reply


Forum Jump:


Users browsing this thread: