SA-MP Forums Archive
dini error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: dini error (/showthread.php?tid=314646)



dini error - ttloko2 - 30.01.2012

i got these errors when i try to compile my script but i dont see nothing wrong, i tried to re-install dini, but nothing :/

errors:

Код:
C:\Users\Carlos\Desktop\Death Match Scripts\Pawno\include\dini.inc(32) : error 017: undefined symbol "fexist"
C:\Users\Carlos\Desktop\Death Match Scripts\Pawno\include\dini.inc(32) : warning 215: expression has no effect
C:\Users\Carlos\Desktop\Death Match Scripts\Pawno\include\dini.inc(32) : error 001: expected token: ";", but found ")"
C:\Users\Carlos\Desktop\Death Match Scripts\Pawno\include\dini.inc(32) : error 029: invalid expression, assumed zero
C:\Users\Carlos\Desktop\Death Match Scripts\Pawno\include\dini.inc(32) : fatal error 107: too many error messages on one line
here:

Код:
new Keys[MAX_VEHICLES];



AW: dini error - Drebin - 30.01.2012

show the 10 lines above and below the error.


Re: dini error - milanosie - 30.01.2012

dude.. dont compile a .inc


No need for it. since its a txt file


Re: dini error - ttloko2 - 30.01.2012

Lines:

Код:
enum vInfo
{
	Owner,
    Model,
	Price,
	Float:CarX,
	Float:CarY,
	Float:CarZ,
	Float:CarRot,
	Locked,
	paintjob,
	colora,
	colorb
};

new IsVehicleOnSale[MAX_VEHICLES];
new CarsForSale[8];
new Text3D:CarForSale[8];
new Keys[MAX_VEHICLES];
new vehicle[MAX_PLAYERS];
new VehicleInfo[MAX_PLAYERS][vInfo];
new VehOwned[MAX_VEHICLES];
new OwnerID[MAX_VEHICLES];
new gVehLocked[MAX_VEHICLES];
new VehPlate[MAX_VEHICLES][256];
new gPlayerHasCar[MAX_PLAYERS];

#define VehicleFile "Admin/Vehicles/%s.ini"
@milanosie what you mean?


Re: dini error - milanosie - 30.01.2012

In what file are those lines?

I hope not in dini.inc?


Re: dini error - ttloko2 - 30.01.2012

on vehicles .pwn file