
- Kod: Zaznacz cały
_a = _this select 0
_x = _a select 0
_y = _a select 1
_z = _a select 2
?(_x == 1 and _y == 1 and _z == 1) : hint "biała"
?(_x == 1 and _y == 0 and _z == 0) : hint "czerwona"
?(_x == 0 and _y == 1 and _z == 0) : hint "zielona"
?(_x == 1 and _y == 1 and _z == 0) : hint "zolta"
exit
pierwszy parametry skryptu onflare.sqs to taki oto array : [red, green, blue] zawierajacy kolor flary. No i odpowiednio jesli [1,0,0] to flara jest czerwona, jesli [0,0,1] to niebieska itp...