Tag MisMatch? Don't See Why
#1

2533 - 2538
pawn Код:
if( IsPlayerInZone(playerid, gangzoneInfo[g][gzMinX] , gangzoneInfo[g][gzMinY] , gangzoneInfo[g][gzMaxX] , gangzoneInfo[g][gzMaxY] ) )
    {
        gangzoneInfo[g][gzOwner] = pF;
        printf( "Gangzone %d Updated: Owner: %d" , g , gangzoneInfo[g][gzOwner] );
        GangZoneStopFlashForAll( gz );
        GangZoneHideForAll( gz );
6051 - 6062
pawn Код:
stock IsPlayerInZone(playerid, Float:XMin, Float:YMin, Float:XMax, Float:YMax)
{
    new RetValue = 0;
    new Float: PosX, Float: PosY, Float: PosZ;
    GetPlayerPos( playerid, PosX, PosY, PosZ );

    if( PosX >= XMin && PosY >= YMin && PosX < XMax && PosY < YMax )
    {
      RetValue = 1;
    }
    return RetValue;
}
Код:
C:\Users\HCC\Desktop\Linux-Server\gamemodes\vrp.pwn(2533) : warning 213: tag mismatch
C:\Users\HCC\Desktop\Linux-Server\gamemodes\vrp.pwn(2533) : warning 202: number of arguments does not match definition
C:\Users\HCC\Desktop\Linux-Server\gamemodes\vrp.pwn(2533) : warning 202: number of arguments does not match definition
C:\Users\HCC\Desktop\Linux-Server\gamemodes\vrp.pwn(2533) : warning 202: number of arguments does not match definition
C:\Users\HCC\Desktop\Linux-Server\gamemodes\vrp.pwn(2555) : error 035: argument type mismatch (argument 2)
C:\Users\HCC\Desktop\Linux-Server\gamemodes\vrp.pwn(2555) : warning 215: expression has no effect
C:\Users\HCC\Desktop\Linux-Server\gamemodes\vrp.pwn(2555) : error 001: expected token: ";", but found "]"
C:\Users\HCC\Desktop\Linux-Server\gamemodes\vrp.pwn(2555) : error 029: invalid expression, assumed zero
C:\Users\HCC\Desktop\Linux-Server\gamemodes\vrp.pwn(2555) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

Sigh...From where shall we know which line it is?
Reply
#3

Sorry forgot to add line numbers.
Reply
#4

Have you defined gzMinX gzMaxX gzMinY and gzMaxY as an Float?
You should do so
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)