Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Alarm Version (dont copy this in, only the 2 lines below)
- RS = :RD1+:RD2+:RD3
- if :AO==1 and RS<300 then :sfx=1 else :sfx=0 end goto1
- //SlamTheBrakes (dont copy this in, only the 2 lines below)
- RS = :RD1+:RD2+:RD3
- if :AO==1 and RS<300 then :sfx=1 :fcw=0 :fcb=100 else :sfx=0 end goto1
- //Edit: Version with timed alarm, check I against higher values for longer beep times (each count up is ~2ms)
- RS = :RD1+:RD2+:RD3
- if :AO==1 and RS<300 then :fcw=0 :fcb=100 goto3 else end goto1
- i=0
- if i<30 then ++i :sfx=1 goto4 else goto1 end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement