#1

My command / cc does not work ... Does not display the names of string ...

Please help

Код:
 	if(strcmp(cmd, "/cc", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			if (PlayerInfo[playerid][pAdmin] >= 3)
			{
                ClearChat(100);
				format(string, sizeof(string), "Admin | Chat je obrisan od strane %s", sendername);
                SendClientMessageToAll(COLOR_WHITE,string);
                return 1;
			}
			else
			{
				SendClientMessage(playerid, COLOR_WHITE, "{FF0000}Error | {FFFFFF}Nisi Admin");
				return 1;
			}
		}
	}
Reply
#2

You need to get the sendername first.
Reply
#3

Tnx...............
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)