Global chat help!
#2

Try this:
Code:
if(!strcmp(cmdtext, "/o", true, 2)) 
  {
    if(!cmdtext[2])return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /o [message]");
    new str[128];
    GetPlayerName(playerid, str, sizeof(str));
    format(str, sizeof(str), "(([OOC Global] %s: %s))", str, cmdtext[3]);
    SendClientMessageToAll(COLOR_RED, str);
    return 1;
		}
Or something like that.
Reply


Messages In This Thread
Global chat help! - by Mystique - 23.12.2009, 13:57
Re: Global chat help! - by Kurence - 23.12.2009, 14:09
Re: Global chat help! - by Mystique - 23.12.2009, 14:13

Forum Jump:


Users browsing this thread: 3 Guest(s)