i got 4 erors on my RP mod
#1

first sorry for my sucks english
i try to make my own roleplay mode and when im try to compile the pwn its gives me 4 erors:

Код:
C:\Documents and Settings\Administrator\Desktop\NewMode.pwn(47214) : warning 213: tag mismatch
C:\Documents and Settings\Administrator\Desktop\NewMode.pwn(47214) : error 001: expected token: ")", but found "["
C:\Documents and Settings\Administrator\Desktop\NewMode.pwn(47214) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\NewMode.pwn(47214) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\NewMode.pwn(47214) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Administrator\Desktop\NewMode.pwn(47214) : fatal error 107: too many error messages on one line

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


4 Errors.
this the line:

Код:
if(x >= gSAZones[i][SAZONE_AREA][0] && x <= gSAZones[i][SAZONE_AREA][3] && y >= gSAZones[i][SAZONE_AREA][1] && y <= gSAZones[i][SAZONE_AREA][4])
and this is all the stoc :



Код:
stock GetVehicleZone(vehicleid, zone[], len)
{
  new Float:x, Float:y, Float:z;
  GetVehiclePos(vehicleid, x, y, z);
   for(new i = 0; i != sizeof(gSAZones); i++ )
   {
    if(x >= gSAZones[i][SAZONE_AREA][0] && x <= gSAZones[i][SAZONE_AREA][3] && y >= gSAZones[i][SAZONE_AREA][1] && y <= gSAZones[i][SAZONE_AREA][4])
    {
      return format(zone, len, gSAZones[i][SAZONE_NAME], 0);
    }
  }
  return 0;
}
please help me
Reply


Messages In This Thread
i got 4 erors on my RP mod - by holyman24 - 13.06.2010, 14:24
Re: i got 4 erors on my RP mod - by holyman24 - 13.06.2010, 15:04
Re: i got 4 erors on my RP mod - by Lynn - 13.06.2010, 15:31
Re: i got 4 erors on my RP mod - by holyman24 - 13.06.2010, 15:38
Re: i got 4 erors on my RP mod - by holyman24 - 13.06.2010, 17:10
Re: i got 4 erors on my RP mod - by DJDhan - 13.06.2010, 17:15

Forum Jump:


Users browsing this thread: 1 Guest(s)