I’m trying to make this command work:
if you type .mute it says that you are either not muted or that you are muted for X time.
handler->PSendSysMessage("You are muted for: %s", secsToTimeString(diff));
Gives: “You are muted for: /”
handler->PSendSysMessage("You are muted for: %s", secsToTimeString(diff, true));
Gives: “You are muted for: ?”
handler->PSendSysMessage("You are muted for: %d", diff);
Gives: “You are muted for: 10000” (<— right amount of seconds)
What am I doing wrong?
//EDIT: I just realized that I posted in the wrong section…