/me command please
#9

1.first define the colors

2.then use these includes

Код:
#include <sscanf2>
#include <ZCMD>
3. and then copy then paste this any where you want, you can post it at the last line of the script.

Код:
COMMAND:me(playerid,params[])
{
        new msg[50];
        if(!sscanf(params, "s[50]",msg))
	{
		new mename[MAX_PLAYER_NAME];
		GetPlayerName(playerid,mename,sizeof(mename));
		new string[256];
		format(string,sizeof(string),"** %s %s **",mename,msg);
		SendClientMessageToAll(COLOR_PINK,string);
	}
	else SendClientMessage(playerid,COLOR_YELLOW,"USAGE: /me <rp text>");
        return 1;
}
enjoy.
Reply


Messages In This Thread
/me command please - by James Coral - 25.01.2013, 07:43
Re: /me command please - by Neil. - 25.01.2013, 07:54
Re: /me command please - by antonio112 - 25.01.2013, 08:02
Re: /me command please - by Neil. - 25.01.2013, 08:06
Re: /me command please - by James Coral - 25.01.2013, 08:10
Re: /me command please - by James Coral - 25.01.2013, 08:14
Re: /me command please - by Private200 - 25.01.2013, 08:14
Re: /me command please - by antonio112 - 25.01.2013, 08:25
Re: /me command please - by ZayanImran - 25.01.2013, 08:36
Re: /me command please - by RajatPawar - 25.01.2013, 09:38

Forum Jump:


Users browsing this thread: 1 Guest(s)