Advertisement
Tectoon

[TFM] Shaman Color

Oct 26th, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. admin =                 {       "Tectoon", "Theapps", "Sagazgamer" }
  2.  
  3. function eventLoop(time,remaining)
  4.         alive=0
  5.         for i in pairs(tfm.get.room.playerList) do
  6.                 alive=alive+1
  7.                 tfm.exec.setShaman(i)
  8.                         tfm.exec.setNameColor(i, 0xFF1100)
  9.                         end
  10.                 end
  11.  
  12. function tfm.exec.getShaman()
  13.         for name,player in pairs(tfm.get.room.playerList) do
  14.                 if player.isShaman then
  15.                         return name
  16.                         end
  17.                 end
  18.         end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement