Gamebuster

Loop Process

Sep 19th, 2015
705
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. loop all players:
  2.     add loop-player to {_listPlayers::*} #adding all players to the list variable
  3. set {_timer} to 60 #Change this to how many seconds you need
  4. while {_timer} > 0: #This is a timer
  5.     message "<light blue>%{_timer}% seconds remaining" to {_listPlayers::*} #messaging time remaining to all players in the list variable, you can replace this with what you want
  6.     wait 1 second
  7.     subtract 1 from {_timer}
  8. #This will not trigger until the while loop finishes
  9. message "Game start" to {_listPlayers::*}
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×