Shout command
#9

Try this
Код:
CMD:shout(playerid, params[])
{
    new string[128],shout[100];
    if(sscanf(params, "s[100]", shout))
    {
        SendClientMessage(playerid, -1, ""chat" /(s)hout [message]");
        return 1;
    }
    else
    {
        format(string, sizeof(string), "%s shouts: %s!",PlayerName(playerid),shout);
        ProxDetector(80.0, playerid, string, COLOR_GREY);
    }
    return 1;
}
Reply


Messages In This Thread
Shout command - by Lajko1 - 26.10.2013, 22:22
Re: Shout command - by Pottus - 26.10.2013, 22:26
Re: Shout command - by Lajko1 - 26.10.2013, 22:30
Re: Shout command - by Pottus - 26.10.2013, 22:46
Re: Shout command - by Mattakil - 26.10.2013, 23:41
Re: Shout command - by Lajko1 - 27.10.2013, 05:33
Re: Shout command - by -CaRRoT - 27.10.2013, 05:45
Re: Shout command - by Lajko1 - 27.10.2013, 07:45
Re: Shout command - by Tomix - 27.10.2013, 09:49
Re: Shout command - by Lajko1 - 27.10.2013, 13:54

Forum Jump:


Users browsing this thread: 1 Guest(s)