SA-MP Forums Archive
error 017 , 036, 017, 107 - 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: error 017 , 036, 017, 107 (/showthread.php?tid=379211)



error 017 , 036, 017, 107 - Ben_Dave - 21.09.2012

Код:
(7753) : error 017: undefined symbol "SUVehicles"
7753) : error 036: empty statement
(7753) : error 017: undefined symbol "v"
(7753) : fatal error 107: too many error messages on one line

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


4 Errors.
Код:
IsASUCar(carid)
{
	for(new v = 0; v < sizeof(SUVehicles); v++)
	{
	    if(carid == SUVehicles[v]) return 1;
	}
	return 0;
}



Re: error 017 , 036, 017, 107 - ThePhenix - 21.09.2012

You haven't defined those variables.


Re: error 017 , 036, 017, 107 - Ben_Dave - 21.09.2012

Quote:
Originally Posted by ThePhenix
Посмотреть сообщение
You haven't defined those variables.
how would you define this? i just starting to get back into the pawno code.