Invalid expression, assumed zero
#1

Hello im working on a small filterscript when i got the error number 029 (Invalid expression, assumed zero) on this code

Код:
	if(GetVehicleModel(vehicleid) == 586 || GetVehicleModel(vehicleid == 448) || GetVehicleModel(vehicleid) == 463 || GetVehicleModel(vehicleid) == 522 || GetVehicleModel(vehicleid) == 468 || GetVehicleModel(vehicleid) == 533 || GetVehicleModel(vehicleid) == 555 || (GetVehicleModel(vehicleid) == 482 || GetVehicleModel(vehicleid) == 455)
	{
		if(ispassenger == 0)
		{
Its the { under the GetVehicleModel's that haves the error. I have been looking for whats wrong for long but out of ideas. And im sure on its some weird mistake and im just too blind to see it.


Note above the code i have a similar code with only 1 vehicle type and that has no errors
Reply


Messages In This Thread
Invalid expression, assumed zero - by Desert - 27.02.2010, 09:30
Re: Invalid expression, assumed zero - by smeti - 27.02.2010, 09:57
Re: Invalid expression, assumed zero - by Desert - 27.02.2010, 10:03
Re: Invalid expression, assumed zero - by smeti - 27.02.2010, 10:08
Re: Invalid expression, assumed zero - by Desert - 27.02.2010, 10:11

Forum Jump:


Users browsing this thread: 1 Guest(s)