You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If RETURN_IF_FALSE (opcode or keyword) is used after IF AND or IF OR conditional the compiler gives all kinds of errors related to improper formatting. If you replace AND or OR with digit then the compiler is fine.
The text was updated successfully, but these errors were encountered:
if and
0@ <> #PREDATOR
0@ <> #RHINO
0@ <> #TRAIN
0@ <> #DODO
0@ <> #SPEEDER
0@ <> #REEFER
0@ <> #GHOST
return_if_false
if or
Car.IsModel(1@, #LINERUN)
Car.IsModel(1@, #FIRETRUK)
Car.IsModel(1@, #TRASH)
Car.IsModel(1@, #MULE)
Car.IsModel(1@, #AMBULAN)
Car.IsModel(1@, #MRWHOOP)
Car.IsModel(1@, #ENFORCER)
Car.IsModel(1@, #BUS)
then
...
end
With setup abobe compiler claims that THEN is a redundant logical operator, but if you replace AND with 6 script compiles successfully. I was testing this in GTA3 mode.
If RETURN_IF_FALSE (opcode or keyword) is used after IF AND or IF OR conditional the compiler gives all kinds of errors related to improper formatting. If you replace AND or OR with digit then the compiler is fine.
The text was updated successfully, but these errors were encountered: