10.07.2011, 08:20
pawn Код:
CMD:sayhi(playerid, params[])
{
new Str[128],pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /sayhi [message]");
format(Str, sizeof(Str), "/ %s / send a message saying / %s /", pName,params);
SendClientMessageToAll(0x33FF33AA, Str);
return 1;
}