[HELP]need CMD help
#3

then it says:
Код:
C:\Documents and Settings\Administrator\Bureaublad\RealLife RPG Server\gamemodes\frpg.pwn(9665) : warning 213: tag mismatch
C:\Documents and Settings\Administrator\Bureaublad\RealLife RPG Server\gamemodes\frpg.pwn(9667) : warning 213: tag mismatch
C:\Documents and Settings\Administrator\Bureaublad\RealLife RPG Server\gamemodes\frpg.pwn(9668) : warning 213: tag mismatch
C:\Documents and Settings\Administrator\Bureaublad\RealLife RPG Server\gamemodes\frpg.pwn(9669) : warning 213: tag mismatch
C:\Documents and Settings\Administrator\Bureaublad\RealLife RPG Server\gamemodes\frpg.pwn(9670) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Warnings.
the CMD is:
pawn Код:
if(strcmp(cmd, "/edithinterior", true) == 0)
    {
      tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid, COLOR_GREY, "USAGE: /edithinterior [houseid] [interiorX] [interiorY] [interiorZ] [UniversalID]");
            return 1;
        }
        giveplayerid = floatstr(tmp);
        tmp = strtok(cmdtext, idx);
        new a1 = floatstr(tmp);
        new b2 = floatstr(tmp);
        new c3 = floatstr(tmp);
        new world = floatstr(tmp);

        if ((IsPlayerAdmin(playerid)) || PlayerInfo[playerid][pAdmin] >= 105)
        {
            for(new i=0; i<MAX_HOUSES; i++)
            {
                HouseInfo[i][hExitx] = a1;
                HouseInfo[i][hExity] = b2;
                HouseInfo[i][hExitz] = c3;
                HouseInfo[i][hWorld] = world;
                format(string, sizeof(string), "-OperServ- Houseid %d it's interior has been set to %d, %d world %d and %d by admin %s", giveplayerid, a1, b2, c3, world, PlayerName[playerid]);
                SendClientMessageToAll(COLOR_LIGHTBLUE, string);
                return 1;
            }
        }
        else
        {
            SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use this command.");
        }
        return 1;
    }
Reply


Messages In This Thread
[HELP]need CMD help - by breakpaper - 19.11.2009, 14:58
Re: [HELP]need CMD help - by Jefff - 19.11.2009, 15:20
Re: [HELP]need CMD help - by breakpaper - 19.11.2009, 16:02
Re: [HELP]need CMD help - by Luka P. - 19.11.2009, 16:15
Re: [HELP]need CMD help - by breakpaper - 19.11.2009, 19:06
Re: [HELP]need CMD help - by Jefff - 19.11.2009, 20:43
Re: [HELP]need CMD help - by breakpaper - 20.11.2009, 05:30

Forum Jump:


Users browsing this thread: 1 Guest(s)