Advertisement
Rebitaay

Tripwire Alarm E2 for Lazermaniac

May 30th, 2015
577
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @name Tripwire Alarm
  2. @inputs Ranger
  3. #This is a comment line. I use these to explain shit,
  4. #and it doesn't actually do anything. It's just... A comment...
  5.  
  6.  
  7. runOnTick(1) #Runs on the server's tick rate. Don't ask.
  8. runOnChat(1) #Required for anything to do with chat.
  9.  
  10. # "if(1)" would not work. If the input named "Ranger" drops below the value of 40,
  11. # then it does the other shit.
  12. if (Ranger < 40) {
  13. #concmd is disabled due to it being very exploitable. Removed it.
  14. #I like spam. Spam is good.
  15. print("Fading door one has opened!")
  16. print("Fading door one has opened!")
  17. print("Fading door one has opened!")
  18. print(_HUD_PRINTCENTER,"Fading door one has opened!")
  19.  
  20. #Play on what? You didn't specify. Just delete one.
  21. entity():soundPlay(1,2.023,"ambient/alarms/alarm1.wav") #Plays on E2.
  22. owner():soundPlay(1,2.023,"ambient/alarms/alarm1.wav") #Plays on owner (You).
  23. }
  24.  
  25.  
  26. #I HAVE NO IDEA IF THIS SHIT WORKS, BUT IT SHOULD!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement