error 029: invalid expression, assumed zero
#1

i try to make this
pawn Код:
if(modelid != 417 && modelid != 425 && modelid != 430 && modelid != 432 && modelid != 446 && modelid != 447 && modelid != 449 && modelid != 452 && modelid != 453 && modelid != 454,
               ,&& modelid != 460 && modelid != 464 && modelid != 465 && modelid != 469 && modelid != 472 && modelid != 473 && modelid != 476 && modelid != 484 && modelid != 487 && modelid != 488l,
               ,&& modelid != 493 && modelid != 497 && modelid != 501 && modelid != 511 && modelid != 512 && modelid != 513 && modelid != 519 && modelid != 520 && modelid != 532 && modelid != 537,
               ,&& modelid != 538 && modelid != 548 && modelid != 553 && modelid != 563 && modelid != 564 && modelid != 570 && modelid != 425 && modelid != 577 && modelid != 592 && modelid != 593,
               ,&& modelid != 594 && modelid != 595 && modelid != 425)
and i get this errors

pawn Код:
C:\Users\NASTIE\Desktop\New folder\The Godfather\gamemodes\mexico.pwn(28388) : error 029: invalid expression, assumed zero
C:\Users\NASTIE\Desktop\New folder\The Godfather\gamemodes\mexico.pwn(28388) : error 029: invalid expression, assumed zero
C:\Users\NASTIE\Desktop\New folder\The Godfather\gamemodes\mexico.pwn(28388) : error 029: invalid expression, assumed zero
C:\Users\NASTIE\Desktop\New folder\The Godfather\gamemodes\mexico.pwn(28388) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase
Line of error

pawn Код:
,&& modelid != 460 && modelid != 464 && modelid != 465 && modelid != 469 && modelid != 472 && modelid != 473 && modelid != 476 && modelid != 484 && modelid != 487 && modelid != 488l,

4 Errors.
[/pawn]
Reply
#2

Why the fuck the commas?! You don't need them. And please use switch() for this, otherwise it sucks ass.
Reply
#3

can you make that for me ?
Reply
#4

Delete the comas and it will work
Reply
#5

thank you
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)