How to make /me for global chat.
#4

Code:
	if(!strcmp(cmdtext, "/me", true, 3)) {
    if(cmdtext[3] == 0) {
      SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [action]");
      return 1;
    }
    new str[128];
		new renq;
		GetPlayerName(playerid, str, sizeof(str));
    format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
		renq = GetPlayerColor(playerid);
		SendClientMessageToAll(renq, str);
   return 1;
  }
Reply


Messages In This Thread
How to make /me for global chat. - by Striker_Moe - 03.09.2009, 06:56
Re: How to make /me for global chat. - by Calgon - 03.09.2009, 07:17
Re: How to make /me for global chat. - by Striker_Moe - 03.09.2009, 11:45
Re: How to make /me for global chat. - by LasTRace - 03.09.2009, 11:50
Re: How to make /me for global chat. - by DreaD - 18.05.2011, 00:52
Re: How to make /me for global chat. - by Squidle - 18.05.2011, 10:43

Forum Jump:


Users browsing this thread: 1 Guest(s)