25.05.2012, 13:36
pawn Код:
case 11:
{
if(!response) return 1;
else
{
if(strlen(inputtext) > 1)
{
new string[256];
format(string, sizeof(string), "AdmMsg: %s(%d) is requiring Admin assistance: %s", RemoveUnderScore(playerid), inputtext);
SendToAdmins(YELLOW, string);
format(string, sizeof(string), "An Admin should respond to your request soon. You can use /cancelassistance if you no longer need us.");
SendClientMessage(playerid, SHOUT, string);
AssistanceNeeded[playerid] = 1;
return 1;
}
else return ShowPlayerDialog(playerid, 11, DIALOG_STYLE_INPUT, "Requiring Admin Assistance", "Please tell us why you're requiring Admin assistance:", "Send", "Cancel");
}
}
"AdmMsg: Their Name(Their ID) is requiring Admin assistance: "
It doesn't send the "inputtext" on the dialog.
Thanks!