Abit of help.
#2

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;
}
Reply


Messages In This Thread
Abit of help. - by Dizzle - 02.10.2012, 17:09
Re: Abit of help. - by Gangster-rocks - 02.10.2012, 17:12
Re: Abit of help. - by Dizzle - 02.10.2012, 17:14
Re: Abit of help. - by Danyal - 02.10.2012, 17:54

Forum Jump:


Users browsing this thread: 2 Guest(s)