knugi

Untitled

May 30th, 2015
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. command /skgod:
  2. trigger:
  3. if {god.%player%} is not set:
  4. set {god.%player%} to true
  5. send "Wlaczyles god'a"
  6. stop
  7. clear {god.%player%}
  8. send "Wylczyles god'a"
  9. stop
  10. on damage:
  11. if {god.%victim%} is set:
  12. cancel event
  13.  
  14. #------------------------------------------------------------------------
  15. #A jak ty to powinieneś napisać:
  16.  
  17. variables:
  18. {god.%player%} = false
  19. command /skgod:
  20. trigger:
  21. if {god.%player%} is false:
  22. set {god.%player%} to true
  23. send "Wlaczyles god'a"
  24. stop
  25. if {god.%player%} is true:
  26. set {god.%player%} to false
  27. send "Wylaczyles god'a"
  28. stop
  29. on damage:
  30. if {god.%victim%} is true:
  31. cancel event
  32.  
  33.  
  34. ## Oba przyklady sa dobre !!!
Advertisement
Add Comment
Please, Sign In to add comment