Guest User

Od Crysisa

a guest
Dec 30th, 2013
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.68 KB | None | 0 0
  1. command /setspawn:
  2.     trigger:
  3.         if player has permission "setspawn":
  4.             set {spawn} to location of player
  5.             send "&7Ustawiono spawn!"
  6.             stop
  7.         else:
  8.             send "&4Blad: &cNie masz do tego praw!"
  9.             stop
  10.  
  11. command /spawn:
  12.     trigger:
  13.         if {spawn.off.on} is true:
  14.             if {spawn} is set:
  15.                 set {_pos} to location of player
  16.                 send "&7Zostaniesz teleportowany za &65 sekund &7,prosze sie nie ruszac!"
  17.                 if {_pos} isn't location of player:
  18.                     send "&cWykryto ruch, teleportacja anulowana!"
  19.                     stop
  20.                 wait 1 second
  21.                 if {_pos} isn't location of player:
  22.                     send "&cWykryto ruch, teleportacja anulowana!"
  23.                     stop
  24.                 wait 1 second
  25.                 if {_pos} isn't location of player:
  26.                     send "&cWykryto ruch, teleportacja anulowana!"
  27.                     stop
  28.                 wait 1 second
  29.                 if {_pos} isn't location of player:
  30.                     send "&cWykryto ruch, teleportacja anulowana!"
  31.                     stop
  32.                 wait 1 second
  33.                 if {_pos} isn't location of player:
  34.                     send "&cWykryto ruch, teleportacja anulowana!"
  35.                     stop
  36.                 wait 1 second
  37.                 if {_pos} is location of player:
  38.                     teleport player to {essentialsskript.spawn}
  39.                     send "&7Zostales teleportowany"
  40.                     stop
  41.                 else:
  42.                     send "&cWykryto ruch, teleportacja anulowana!"
  43.                     stop
  44.             else:
  45.                 send "{@tag} &cSpawn nie zostal ustawiony skontaktuj sie z administratorem!"
  46.                 stop
  47.         else:
  48.             send "&4Blad: &cSpawn jest w tej chwili wylaczony"
  49.             stop
  50. command /spawn [<text>]:
  51.     trigger:
  52.         if has permission "spawn.on.off":
  53.             if arg 1 is "on":
  54.                 set {spawn.off.on} to true
  55.                 send "&aAktywowales spawn!"
  56.             if arg 1 is "off":
  57.                 set {spawn.off.on} to false
  58.                 send "&aDezaktywowales spawn!"
  59.         else:
  60.             send "&4Blad: &cNie masz do tego praw!"
Advertisement
Add Comment
Please, Sign In to add comment