29.09.2011, 19:44
Hello guys, my /b command show the message global, how i can make it visible only for local chat? here is my current code:
thanks!
Код:
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; }