Command bug
#1

I added some commands to my script, like: /me, /report etc.
When I type "/me" it says "/me [USAGE] [text]" but when I type "/me spits" it says "SERVER:Unknown Command


HELPPPP
Reply
#2

Show the code of /me
Reply
#3

Код:
	if(strcmp( "/me", cmdtext, true) == 3)
	{
	    if(!cmdtext[3])return SendClientMessage(playerid, 0xFFFF00AA, "Usage: /me [action]");
	    new str[128];
	    GetPlayerName(playerid, str, sizeof(str));
	    format(str, sizeof(str), "%s %s", str, cmdtext[4]);
	    SendClientMessageToAll(0xFFFF00AA, str);
		return 1;
	}
There
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)