04.10.2011, 07:03
are you logged in as admin or what ever?show SendHelperMessage function
and little cleaner code:
and little cleaner code:
pawn Code:
if(dialogid == DIALOG_HELPME)
{
if(!response) return 0;
if(strlen(inputtext) < 8) return SendClientMessage(playerid,COLOR_LIGHTRED, "ERROR: Your message is too short, it must contain at least 8 characters");
new helpmetext[128];
Requesting_Help[playerid] = 1;
format(helpmetext, sizeof(helpmetext),"%s(ID:%i) is requesting help:%s",PlayerName(playerid),playerid,inputtext);
SendHelperMessage(COLOR_RED, helpmetext);
SendHelperMessage(COLOR_RED, "Type /ahm to accept his help request.");
HelperTimer[playerid] = 60;
}