Problem
#4

pawn Код:
//------------------[CC]--------------------------------------
  if(strcmp(cmd, "/cc", true) == 0)
    {
      if(IsPlayerConnected(playerid)) // Removed the ; here
        {
            if(PlayerInfo[playerid][pAdmin] >= 3)
            {
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                SendClientMessageToAll(COLOR_GREEN, " ");
                GameTextForAll("Chat cleared!", 1000,1);
               
                return 1;
            }
            else
            {
                SendClientMessage(playerid, COLOR_RED, "You do not have permission to use that command!");
                return 1;
            }
        }
        else
        {
          SendClientMessage(playerid, COLOR_RED, "You Must be logged in to use this command!");
        }
    }
Well that's atleast 1 thing I saw.
Reply


Messages In This Thread
Problem - by adytzu32 - 22.02.2010, 17:47
Re: Problem - by lameguy - 22.02.2010, 17:54
Re: Problem - by adytzu32 - 22.02.2010, 17:55
Re: Problem - by Rzzr - 22.02.2010, 17:57
Re: Problem - by adytzu32 - 22.02.2010, 18:00
Re: Problem - by Rzzr - 22.02.2010, 18:02
Re: Problem - by adytzu32 - 22.02.2010, 18:02
Re: Problem - by adytzu32 - 22.02.2010, 18:17
Re: Problem - by IJzerenRita - 22.02.2010, 18:29

Forum Jump:


Users browsing this thread: 1 Guest(s)