My /b is Global :S
#1

Hello guys, my /b command show the message global, how i can make it visible only for local chat? here is my current code:

Код:
if(!strcmp(cmdtext, "/b", true, 2))
    {
        if(!cmdtext[2])return SendClientMessage(playerid, COLOR_GREY, "USAGE: /b [OOC CHAT]");
        new str[128];
        GetPlayerName(playerid,str, sizeof(str));
        format(str, sizeof(str), "%s ((%s))", str, cmdtext[2]);
        SendClientMessageToAll (COLOR_WHITE, str);
        return 1;
    }
thanks!
Reply


Messages In This Thread
My /b is Global :S - by Panormitis - 29.09.2011, 19:44
Re: My /b is Global :S - by Riddick94 - 29.09.2011, 19:49
Re: My /b is Global :S - by Kush - 29.09.2011, 20:11
Re: My /b is Global :S - by WoodPecker - 29.09.2011, 20:16
Re: My /b is Global :S - by Kush - 29.09.2011, 20:20
Re: My /b is Global :S - by WoodPecker - 29.09.2011, 20:26

Forum Jump:


Users browsing this thread: 1 Guest(s)