AchillesP
02-18-2009, 01:53 PM
Hi,
with the below logic you can handle the nosmoking and seatbelt of fspassanger throu the pmsystems nosmoking and seatbelts buttoms.
if nosmoking = 1 then
nosmokingsign = 1
fsnosmoking = 1
else
nosmokingsign = nosmoking > 0
endif
fsnosmoking = (nosmoking = 1) or (nosmoking = 2)
if seatbelts = 1 then
seatbeltsign = (fsaltitude < 15000) and (fsstartflag1 or fsstartflag2)
else
seatbeltsign = seatbelts > 0
endif
fsseatbelts = (seatbelts = 1) or (seatbelts = 2)
**You must delete the nosmoking and seatbelts logic that comes with pmsys737.lgc
Insert inside sysvar.txt the below lines at the buttom of the file.
//My offsets
341D 1 fsSeatbelts
341C 1 fsNoSmoking
with the below logic you can handle the nosmoking and seatbelt of fspassanger throu the pmsystems nosmoking and seatbelts buttoms.
if nosmoking = 1 then
nosmokingsign = 1
fsnosmoking = 1
else
nosmokingsign = nosmoking > 0
endif
fsnosmoking = (nosmoking = 1) or (nosmoking = 2)
if seatbelts = 1 then
seatbeltsign = (fsaltitude < 15000) and (fsstartflag1 or fsstartflag2)
else
seatbeltsign = seatbelts > 0
endif
fsseatbelts = (seatbelts = 1) or (seatbelts = 2)
**You must delete the nosmoking and seatbelts logic that comes with pmsys737.lgc
Insert inside sysvar.txt the below lines at the buttom of the file.
//My offsets
341D 1 fsSeatbelts
341C 1 fsNoSmoking