[Include] foreach 0.4.1 standalone include
#15

Quote:
Originally Posted by Crayder
Посмотреть сообщение
It uses the new syntax. The latest version (which must have YSI) is still the best though.
I'm getting this weird error when compiling with this syntax (not sure if it's the new or old):


Код:
                       foreach(new i : Vehicle)
				{
					static Float:vehPos[3];
					GetVehiclePos(i, vehPos[0], vehPos[1], vehPos[2]);
					if(distance(vehPos[0], vehPos[1], vehPos[2], x2, y2, z2) < 7.0) 	return false;
			
				}
Код:
error 017: undefined symbol "Vehicle@YSII_Ag"
Am I using a wrong syntax?
Reply


Messages In This Thread
foreach 19 standalone include - by Kar - 14.04.2015, 10:02
Re: foreach 0.4.1 standalone include - by RaeF - 14.04.2015, 10:07
Re: foreach 0.4.1 standalone include - by lukewid - 14.04.2015, 10:53
Re: foreach 0.4.1 standalone include - by Crayder - 14.04.2015, 11:31
Re: foreach 0.4.1 standalone include - by Gammix - 14.04.2015, 13:43
Re: foreach 0.4.1 standalone include - by Kar - 14.04.2015, 14:32
Re: foreach 0.4.1 standalone include - by Crayder - 14.04.2015, 20:44
Re: foreach 0.4.1 standalone include - by Kar - 14.04.2015, 23:35
Re: foreach 0.4.1 standalone include - by Emmet_ - 14.04.2015, 23:40
Re: foreach 0.4.1 standalone include - by Crayder - 15.04.2015, 00:10
Re: foreach 0.4.1 standalone include - by Abagail - 15.04.2015, 01:06
Re: foreach 0.4.1 standalone include - by Sasino97 - 05.09.2015, 10:27
Re: foreach 0.4.1 standalone include - by n0minal - 28.09.2015, 23:34
Re: foreach 0.4.1 standalone include - by Crayder - 28.09.2015, 23:53
Re: foreach 0.4.1 standalone include - by n0minal - 29.09.2015, 00:04
Re: foreach 0.4.1 standalone include - by Kar - 29.09.2015, 00:36
Re: foreach 0.4.1 standalone include - by Abagail - 29.09.2015, 02:17
Re: foreach 0.4.1 standalone include - by n0minal - 29.09.2015, 02:23
Re: foreach 0.4.1 standalone include - by Crayder - 29.09.2015, 03:50
Re: foreach 0.4.1 standalone include - by Droxx - 07.01.2016, 13:44
Re: foreach 0.4.1 standalone include - by Kar - 13.07.2016, 05:20
Re: foreach 0.4.1 standalone include - by justice96 - 13.07.2016, 05:23
Re: foreach 0.4.1 standalone include - by Liberation - 29.08.2016, 23:46
Re: foreach 0.4.1 standalone include - by Kar - 30.08.2016, 00:00
Re: foreach 0.4.1 standalone include - by Kar - 30.08.2016, 01:01
Re: foreach 0.4.1 standalone include - by Crayder - 30.08.2016, 06:32
Re: foreach 0.4.1 standalone include - by Kar - 31.08.2016, 00:22
Re: foreach 0.4.1 standalone include - by Gammix - 09.09.2016, 15:56
Re: foreach 0.4.1 standalone include - by Stinged - 09.09.2016, 17:10
Re: foreach 0.4.1 standalone include - by Gammix - 09.09.2016, 17:23
Re: foreach 0.4.1 standalone include - by GhostHacker - 10.09.2016, 04:25
Re: foreach 0.4.1 standalone include - by Spmn - 10.09.2016, 22:04
Re: foreach 0.4.1 standalone include - by GhostHacker - 11.09.2016, 02:12
Re: foreach 0.4.1 standalone include - by SyS - 13.09.2016, 15:10
Re: foreach 0.4.1 standalone include - by SyS - 15.09.2016, 02:09
Re: foreach 0.4.1 standalone include - by GhostHacker - 15.09.2016, 04:02
Re: foreach 0.4.1 standalone include - by SyS - 15.09.2016, 04:05
Re: foreach 0.4.1 standalone include - by ZiGGi - 15.09.2016, 04:36
Re: foreach 0.4.1 standalone include - by Crayder - 15.09.2016, 05:12
Re: foreach 0.4.1 standalone include - by Konstantinos - 15.09.2016, 07:47
Re: foreach 0.4.1 standalone include - by ZiGGi - 15.09.2016, 11:23
Re: foreach 0.4.1 standalone include - by Crayder - 15.09.2016, 11:49
Re: foreach 0.4.1 standalone include - by ZiGGi - 15.09.2016, 12:28
Re: foreach 0.4.1 standalone include - by KokyZ - 10.11.2016, 18:15
Re: foreach 0.4.1 standalone include - by Konstantinos - 10.11.2016, 18:28
Re: foreach 0.4.1 standalone include - by KokyZ - 10.11.2016, 18:34
Respuesta: foreach 0.4.1 standalone include - by iSanchez - 18.03.2017, 23:18
Re: Respuesta: foreach 0.4.1 standalone include - by ISmokezU - 18.03.2017, 23:35
Re: Respuesta: foreach 0.4.1 standalone include - by Crayder - 19.03.2017, 20:08
Re: foreach 0.4.1 standalone include - by Gammix - 24.06.2017, 05:53
Re: foreach 0.4.1 standalone include - by Unrea1 - 27.08.2017, 00:04
Re: foreach 0.4.1 standalone include - by Kar - 02.10.2017, 19:27

Forum Jump:


Users browsing this thread: 7 Guest(s)