[pawn]CMD:hirdetes(playerid, params[])
{
if(isnull(params)) return SendClientMessage(playerid, -1, \"Használata: /hirdetes (szöveg)\");
new str[128];
format(str, sizeof str, \"%s: %s\", pName(playerid), params);
SendClientMessageToAll(-1, str);
return 1;
}
stock pName(p)
{
new n[24];
GetPlayerName(playerid, n, 24);
return n;
}[/pawn]