[HELP] Chat command.
#4

I really dont understand why not using zcmd, believe me Its way shorter... look at your shout cmd and look at mine

pawn Код:
CMD:s(playerid,params[])
{
    if(isnull(params)) return SendClientMessage(playerid, COLOR_SYNTAX,"[SYNTAX]: /s [shout]");
    new sendername[MAX_PLAYER_NAME], string[128];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "%s Shouts: %s!!", sendername, params);
    ProxDetector(40.0, playerid, string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_FADE1,COLOR_FADE2);
    return 1;
}
And thats all!
Reply


Messages In This Thread
[HELP] Chat command. - by BlackSA - 25.11.2011, 20:28
Re: [HELP] Chat command. - by Rob_Maate - 25.11.2011, 20:53
Re: [HELP] Chat command. - by Joshb93 - 25.11.2011, 21:06
Re: [HELP] Chat command. - by iNorton - 25.11.2011, 21:18
Re: [HELP] Chat command. - by Rob_Maate - 25.11.2011, 21:20
Re: [HELP] Chat command. - by BlackSA - 26.11.2011, 05:55

Forum Jump:


Users browsing this thread: 1 Guest(s)