24.08.2015, 01:33
after few hours trying to fix it ,
im asking forum members to help me
+REP if you solve me this errors
im asking forum members to help me
+REP if you solve me this errors
pawn Код:
C:\Users\CraTzy\Desktop\TEST\filterscripts\blah\vehicles.pwn(208) : error 017: undefined symbol "EditingMode"
C:\Users\CraTzy\Desktop\TEST\filterscripts\blah\vehicles.pwn(208) : warning 215: expression has no effect
C:\Users\CraTzy\Desktop\TEST\filterscripts\blah\vehicles.pwn(208) : error 001: expected token: ";", but found "]"
C:\Users\CraTzy\Desktop\TEST\filterscripts\blah\vehicles.pwn(208) : error 029: invalid expression, assumed zero
C:\Users\CraTzy\Desktop\TEST\filterscripts\blah\vehicles.pwn(208) : 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.
pawn Код:
public OnEnterExitModShop(playerid,enterexit,interiorid)
{
if(enterexit == 1) EditingMode[playerid]; = true; //Line 208
if(enterexit == 0)
{
new vid = GetPlayerVehicleID(playerid);
foreach(new i : Cars)
{
if(CarData[i][CarID] == vid)
{
for(new j = 0; j < MAX_CAR_COMPONENTS; j++)
{
CarData[i][CarComponents][j] = GetVehicleComponentInSlot(vid, j);
}
sqlite_SaveVehicleData(i);
if(GetEditMode(playerid) == EDIT_MODE_MODCAR)
{
SetVehiclePos(vid, ModCarPos[playerid][0], ModCarPos[playerid][1], ModCarPos[playerid][2]);
SetVehicleZAngle(vid, ModCarPos[playerid][3]);
SetEditMode(playerid, EDIT_MODE_NONE);
}
EditingMode[playerid] = false;
return 1;
}
}
}
return 1;
}