Need help with chat commands. [+REP]
#5

Here you are


pawn Код:
CMD:asay(playerid, params[])
{
    new message[128], string[128], talker;
    if(sscanf(params,"s[128]", message))return SendClientMessage(playerid, GREY, "USAGE: /asay [text]");
        GetPlayerName(playerid, talker, sizeof(talker))
    format(string, sizeof(string), "(( %s says: %s ))", talker, message);
    SendClientMessageToAll(0xffffff, string);
    return 1;
}
Reply


Messages In This Thread
Need help with chat commands. [+REP] - by Biggy54 - 28.09.2014, 22:51
Re: Need help with chat commands. [+REP] - by SWGamer - 29.09.2014, 08:55
Re: Need help with chat commands. [+REP] - by Biggy54 - 29.09.2014, 11:06
Re: Need help with chat commands. [+REP] - by SWGamer - 29.09.2014, 11:52
Re: Need help with chat commands. [+REP] - by Josh_Main - 29.09.2014, 15:09
Re: Need help with chat commands. [+REP] - by MeCom - 29.09.2014, 15:19
Re: Need help with chat commands. [+REP] - by Biggy54 - 29.09.2014, 16:29
Re: Need help with chat commands. [+REP] - by DavidBilla - 29.09.2014, 18:06
Re: Need help with chat commands. [+REP] - by Biggy54 - 29.09.2014, 19:53
Re: Need help with chat commands. [+REP] - by YanLanger - 29.09.2014, 20:22

Forum Jump:


Users browsing this thread: 2 Guest(s)