Stupid "error"/warning problem ... >_<
#1

The error: (warning)
pawn Код:
C:\Users\Michael\Desktop\GTA\Eigen server\gamemodes\ShipDM.pwn(340) : warning 217: loose indentation
C:\Users\Michael\Desktop\GTA\Eigen server\gamemodes\ShipDM.pwn(353) : warning 217: loose indentation
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Warnings.
So line 338 to 361:
pawn Код:
new cmd[128],idx,tmp[256];
    cmd = strtok(cmdtext, idx);
   if(IsPlayerAdmin(playerid)) //line 340
   {
        if(!strcmp(cmd, "/akill", true, 6))
        {
            new id;
            tmp = strtok(cmdtext, idx);
            id = strval(tmp);
            if(strlen(tmp) == 0) return false;
            else SetPlayerHealth(id, 0);
            SendClientMessageToAll(COLOR_RED, "Someone is been killed by the admin !");
        }
    }

    if (IsPlayerAdmin(playerid)) //line 353
    {
        if(strcmp("/money", cmdtext, true) == 0)
        {
            GivePlayerMoney(playerid, 10000);
            return 1;
        }
       
    }
SOLVED
Reply


Messages In This Thread
Stupid "error"/warning problem ... >_< - by Michael@Belgium - 19.01.2011, 15:16
Re: Stupid "error"/warning problem ... >_< - by Alby Fire - 19.01.2011, 15:45
Re: Stupid "error"/warning problem ... >_< - by TouR - 19.01.2011, 15:48
Re: Stupid "error"/warning problem ... >_< - by Alby Fire - 19.01.2011, 15:50
Re: Stupid "error"/warning problem ... >_< - by Michael@Belgium - 19.01.2011, 15:51
Re: Stupid "error"/warning problem ... >_< - by TouR - 20.01.2011, 09:54

Forum Jump:


Users browsing this thread: 1 Guest(s)