/me command
#5

How about this:
Код:
if(strcmp(cmd, "/me", true) == 0)
{
    new text;
	new name[MAX_PLAYER_NAME], string[44];
  	GetPlayerName(playerid, name, sizeof(name));
  	format(string, sizeof(string), "%s %s.",name, text);
  	SendClientMessageToAll(YOUR_COLOR, string); 
    return 1;
}
Reply


Messages In This Thread
/me command - by Crezy-Boy - 16.06.2010, 14:17
Re: /me command - by Lajko1 - 16.06.2010, 14:22
Re: /me command - by Crezy-Boy - 16.06.2010, 14:26
Re: /me command - by MadeMan - 16.06.2010, 14:27
Re: /me command - by WSD - 16.06.2010, 16:22
Re: /me command - by Flashy - 16.06.2010, 16:30
Re: /me command - by hab2ever - 16.06.2010, 16:49

Forum Jump:


Users browsing this thread: 1 Guest(s)