27.02.2010, 09:30
Hello im working on a small filterscript when i got the error number 029 (Invalid expression, assumed zero) on this code
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
Код:
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) {
Note above the code i have a similar code with only 1 vehicle type and that has no errors