Warning 213: tag mismatch
#1

Код:
C:\Users\Vlad\Desktop\Shits\Samp Projects\Xstunts\gamemodes\Xstunts.pwn(32889) : warning 213: tag mismatch
C:\Users\Vlad\Desktop\Shits\Samp Projects\Xstunts\gamemodes\Xstunts.pwn(32890) : warning 213: tag mismatch
C:\Users\Vlad\Desktop\Shits\Samp Projects\Xstunts\gamemodes\Xstunts.pwn(32891) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
The command:

pawn Код:
CMD:plantbomb(playerid)
{
    if(pInfo[playerid][Bombs] == 0)
    {
        SCM(playerid,COLOR_RED,"You don't have any bomb! Use /buybomb to buy one!");
    }
    else
    {
        if(BombPlanted[playerid] == 1)
        {
            SCM(playerid,COLOR_RED,"You already planted a bomb! Use /removebomb to remove it or /detonate to detonate it!");
        }
        else
        {
            new file[100],Name[MAX_PLAYER_NAME]; GetPlayerName(playerid,Name,MAX_PLAYER_NAME);
            format(file,sizeof(file),PlayerFile,Name);
            pInfo[playerid][Bombs]--;
            new Float:xpos, Float:ypos, Float:zpos;
            GetPlayerPos(playerid,xpos,ypos,zpos);
            dini_IntSet(file,"BombXpos",xpos); // Line 32889
            dini_IntSet(file,"BombYpos",ypos); // Line 32890
            dini_IntSet(file,"BombZpos",zpos); // Line 32891
            BombX[playerid] = dini_Int(file,"BombXpos");
            BombY[playerid] = dini_Int(file,"BombYpos");
            BombZ[playerid] = dini_Int(file,"BombZpos");
            BombPlanted[playerid] = 1;
            SCM(playerid,COLOR_YELLOW,"Bomb planted! Use /detonate to detonate the bomb!");
        }
    }
    return 1;
}
Any help please?
Reply
#2

..

edit: here, try using dini_FloatSet instead of dini_IntSet maybe that'll fix it
Reply
#3

Код:
            dini_FloatSet(file,"BombXpos",xpos); // Line 32889
            dini_FloatSet(file,"BombYpos",ypos); // Line 32890
            dini_FloatSet(file,"BombZpos",zpos); // Line 32891
edited i misspelled!!!
Reply
#4

Quote:
Originally Posted by Aveger
Посмотреть сообщение
Код:
            dini_FloatSet(file,"BombXpos",xpos); // Line 32889
            dini_FloatSet(file,"BombYpos",ypos); // Line 32890
            dini_FloatSet(file,"BombZpos",zpos); // Line 32891
edited i misspelled!!!
Quote:
Originally Posted by BossZk
Посмотреть сообщение
..

edit: here, try using dini_FloatSet instead of dini_IntSet maybe that'll fix it
Thanks to both of you I really needed to repair that warning
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)