sqpp15

Untitled

Mar 27th, 2014
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. CP = {
  2.     {12,56},
  3.     {32,26}
  4. }
  5.  
  6.  
  7. adminjailsec = {26,27,28}
  8. function admseconds()
  9. for num, val in ipairs(adminjailsec) do
  10. random (adminjailsec)
  11. end
  12. end
  13.  
  14. local admsec = admseconds()
  15.  
  16. addhook("movetile","check")
  17. function check(id, x, y)
  18.     for num, val in ipairs(CP) do
  19.         if x==val[1] and y==val[2] then
  20.         msg2(id, "You decrease your time in Adminjail with -"..admsec.." sec")
  21.         end
  22.     end
  23. end
Advertisement
Add Comment
Please, Sign In to add comment