Tag Mismatch?
#1

pawn Код:
D:\Gta San Andreas Multiplayer\Gta San Andreas Multiplayer\gamemodes\LSGW2.pwn(1395) : warning 213: tag mismatch
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
At This:
pawn Код:
if(!tCP[Police] == gTeam[playerid])
        {
        SendClientMessage(playerid, 0x00FF007A, " You have left the checkpoint , You have failed to capture");
        GangZoneStopFlashForAll(Grove);
        SendClientMessageToAll(0x00FF007A, "Zone was not taken over");
        KillTimer(timer[playerid][Grove]);
        Checkpoint[playerid] = 0;
        UnderAttack[Grove] = 0;
        }
Reply
#2

anyone here?
Reply
#3

Geezus, don't bump after just 20 minutes. People here selflessly devote their time to helping others. Not everyone's glued to their PC.

What line is the warning?
Reply
#4

ok sry,and the problem in: if(!tCP[Police] == gTeam[playerid])
Reply
#5

if(CP[Police] == gTeam[playerid])
Reply
#6

actually i have defined tCP in:
pawn Код:
new tCP[30];
and i got these errors:
pawn Код:
D:\Gta San Andreas Multiplayer\Gta San Andreas Multiplayer\gamemodes\LSGW2.pwn(1395) : error 017: undefined symbol "CP"
D:\Gta San Andreas Multiplayer\Gta San Andreas Multiplayer\gamemodes\LSGW2.pwn(1395) : warning 215: expression has no effect
D:\Gta San Andreas Multiplayer\Gta San Andreas Multiplayer\gamemodes\LSGW2.pwn(1395) : error 001: expected token: ";", but found "]"
D:\Gta San Andreas Multiplayer\Gta San Andreas Multiplayer\gamemodes\LSGW2.pwn(1395) : error 029: invalid expression, assumed zero
D:\Gta San Andreas Multiplayer\Gta San Andreas Multiplayer\gamemodes\LSGW2.pwn(1395) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
tCP i made for checking if the player's team has invaded a zone
Reply
#7

ah then its like this

if(!tCP[Police] == ID) from 0 to 30
Reply
#8

I Have Solved the Problem By Myself,i defined another variable and i was should use it its the opposite of tCP,anyway thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)