pawn Код:
CMD:ask(playerid, params[])
{
new pName[MAX_PLAYER_NAME], aName[MAX_PLAYER_NAME], str[128], id;
if(sscanf(params, "us[128]", playerid, str)) return SendClientMessage(playerid, COLOR_GREY, "Usage: /ask [question]");
{
format(str, sizeof(str), "Question [%d]%s: %s", playerid, pName, params);
GetPlayerName(playerid, pName, sizeof(pName));
SendAdminMessage(playerid, COLOR_YELLOW, str);
SendClientMessage(playerid, COLOR_GREY, "Your question is being approved by the Admins, Please be patient");
}
return 1;
}