Raising the letter count limit
#4

This is the /me command.

Код:
if(!strcmp(cmdtext, "/me", true, 3))
    {
        if(IsPlayerConnected(playerid))
	    {
	        if(pInfo[playerid][pLogged] != 1)
	        {
	            SendClientMessage(playerid,COLOR_GREY,"* You haven't logged in yet");
	            return 1;
	        }
    		if(!cmdtext[3]) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /me [action]");
    		format(string, sizeof(string), "* %s %s", RemoveUnderScore(playerid), cmdtext[4]);
    		ProxDetector(25.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
			format(string, sizeof(string), "[ACTION] %s - %s", RemoveUnderScore(playerid), cmdtext[4]);
			SaveAction(string);
		}
    	return 1;
    }
Reply


Messages In This Thread
Raising the letter count limit - by Homerman - 21.07.2011, 22:11
Re: Raising the letter count limit - by MadeMan - 21.07.2011, 22:26
Re: Raising the letter count limit - by [HiC]TheKiller - 21.07.2011, 22:29
Re: Raising the letter count limit - by Homerman - 21.07.2011, 22:33
Re: Raising the letter count limit - by Homerman - 21.07.2011, 22:53
Re: Raising the letter count limit - by MadeMan - 22.07.2011, 09:32
Re: Raising the letter count limit - by Adil - 22.07.2011, 15:57
Re: Raising the letter count limit - by Homerman - 23.07.2011, 12:56
Re: Raising the letter count limit - by Lvcnr - 23.07.2011, 14:22

Forum Jump:


Users browsing this thread: 4 Guest(s)