02.10.2012, 17:12
pawn Код:
CMD:shout(playerid, params[])
{
new string[128], textm[128];
if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /shout [text]");
if(AntiAdv(playerid, params)) return 1;
format(string, sizeof(string), "%s shouts: %s!", NAMEGET(playerid), params);
NearMessageSender(playerid, 22, string, COLOR_FADE2,COLOR_FADE2,COLOR_FADE2,COLOR_FADE2,COLOR_FADE2);
else if(IsMasked[playerid] == true)
format(textm, sizeof(textm), "Stranger shouts: %s!", params);
NearMessageSender(playerid, 22, string, COLOR_FADE2,COLOR_FADE2,COLOR_FADE2,COLOR_FADE2,COLOR_FADE2);
return 1;
}