13.07.2012, 16:46
pawn Код:
if(!strcmp(cmdtext, "/help", true, 5))
{
if(!cmdtext[5]) return SendClientMessage(playerid, ERROR, "Use: /help [MESSAGE]");
new strText[144], playerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, playerName, MAX_PLAYER_NAME);
format(strText, sizeof(strText), "[ ! ] %s [ID:%d] asks : %s", playerName, playerid, cmdtext[5]);
SendClientMessageToAdmins(strText);
return 1;
}