/me command help
#4

You have SendClientMessageToAll, change that to SendClientMessage only...


Try with this...
Код:
if(!strcmp(cmdtext, "/me", true, 3)) // 3 is the length of /me
{
if(!cmdtext[3])return SendClientMessage(playerid, 0xFEFEFEFF, "USAGE: /me [action]");
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
SendClientMessage(0xFFFF00AA, str);
return 1;
}
REP + If i helped you
Reply


Messages In This Thread
/me command help - by [LSG]Lil_Familie - 09.06.2012, 17:09
Re: /me command help - by jamax - 09.06.2012, 17:10
AW: /me command help - by [LSG]Lil_Familie - 09.06.2012, 17:12
Re: /me command help - by NeroX98 - 09.06.2012, 17:12
AW: /me command help - by JhnzRep - 09.06.2012, 17:13
Re: /me command help - by varga - 09.06.2012, 17:14
Re: /me command help - by jamax - 09.06.2012, 17:15
AW: Re: /me command help - by [LSG]Lil_Familie - 09.06.2012, 17:16
Re: /me command help - by varga - 09.06.2012, 17:17
AW: /me command help - by [LSG]Lil_Familie - 09.06.2012, 17:21

Forum Jump:


Users browsing this thread: 1 Guest(s)