Advertisement
Guest User

Untitled

a guest
Oct 7th, 2013
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.50 KB | None | 0 0
  1. tfm.exec.setNameColor("Basterfeild", 0xFF1900)
  2.         tfm.exec.setNameColor("Jufaster", 0xFF1900)
  3. system.disableChatCommandDisplay("off",true)
  4. system.disableChatCommandDisplay("help",true)
  5. system.disableChatCommandDisplay("pomoc",true)
  6. tfm.exec.disableAutoTimeLeft (true)
  7. tfm.exec.disableAutoShaman(true)
  8.  
  9. tfm.exec.disableAutoNewGame(true)
  10. maps={"@1427980","@161434","@216173","@2178800 ","@172621","@500000","@3908151","@168754","@512887","@306365","@1384078","@2130169","@410045","@3038589","@528032 ","@511136","@166032","@315666 ","@162482","@684566","@171480","@166271","@587501","@467137","@113156","@166333","@172605","@169228","@250153"}
  11. tfm.exec.newGame(maps[math.random(#maps)])
  12.  
  13. function eventLoop(time,remaining)
  14.         if remaining<=0 then
  15.                 tfm.exec.newGame(maps[math.random(#maps)])
  16.         end
  17. end
  18.  
  19. function eventNewPlayer(name)
  20.             tfm.exec.bindKeyboard(name,32,true,true)
  21.         tfm.exec.respawnPlayer(name);
  22.          tfm.exec.setUIShamanName("!info")
  23.        ui.addPopup(1,0,"<b><font size='20'color='#E9BF23'>Witam w <i><u>Cheat Bootcamp!</u>                   <font size='12'color='#13A8B7'><b>Więcej Informacji? - !info.</b><br /><font size='10'color='#E6E6E6'>Pro tribe forever <b><i><u>Polish Legends<u><i></b>!",playerName,175,200,450)
  24. end
  25.  
  26.  
  27. function main()
  28.         tfm.exec.disableAutoNewGame (true);
  29.         tfm.exec.disableAutoShaman(true);
  30.         tfm.exec.disableAutoTimeLeft (true);
  31.         tfm.exec.disableAutoScore (true);
  32.         tfm.exec.disableAfkDeath (true);
  33. end
  34.  
  35. function eventNewGame ()
  36.         tfm.exec.setUIMapName("Cheat")
  37.         tfm.exec.setGameTime (60*6);
  38.         tfm.exec.setUIShamanName ("Bootcamp")
  39. end
  40.  
  41. function eventChatCommand(playerName, com)
  42.    if com == 'off' then
  43.       system.exit()
  44.       else if com == 'foradmin' then
  45.       ui.addPopup(1,0,"<b><font size='20'color='#13A8B7'>For Admins <u><i>Can fly SPACE</i></u></font><b><br/ >                        <font size='12'color='#D97922'><b>Kiss - Cheese</b></font><br /></font><b><font size='12'color='#D97922'><b>Click LPM (Screen) - Teleport</font></b><br /></font><b><font size='12'color='#D97922'><b>Edition for Nicknamepll, Ouake and Szel</font></b><br /><font size='10'><i>By <b>Nicknamepll</b></i></font>",playerName,200,100,400)
  46.      else if com == 'info' then
  47.       ui.addPopup(1,0,"<b><font size='20'color='#13A8B7'>Witaj w <u><i>#CheatBootcamp!</i></u></font><b><br /><font size='12'color='#D97922'></font><br /></font><b><font size='12'color='#D97922'><b>Naciśnij spację, aby latać!</font></b><br /></font><b><font size='12'color='#D97922'><b>Kliknij LPM w dowolnym miejscu, aby się teleportować!</font></b><br /><font size='10'><i>Autor : <b>Basterfeild</b></i></font>",playerName,200,100,400)
  48. end
  49.  
  50. end
  51. end
  52. end
  53.  
  54.  
  55.  
  56. function eventPlayerWon(name)
  57.         tfm.exec.respawnPlayer(name)
  58. end
  59.  
  60. function eventPlayerDied(name)
  61.         tfm.exec.respawnPlayer(name)
  62. end
  63.  
  64.  
  65. for name,player in pairs(tfm.get.room.playerList) do
  66.         system.bindMouse(name, true)
  67. end
  68.  
  69. function eventMouse(name, x, y)
  70.         tfm.exec.movePlayer(name, x, y, false, 0, 1, false)
  71. end
  72.  
  73. function eventEmotePlayed(playerName,emote)
  74.         if emote==3 then
  75.                 tfm.exec.giveCheese(playerName)
  76.         end
  77. end
  78.                
  79. for name,player in pairs(tfm.get.room.playerList) do
  80.         eventNewPlayer(name)
  81. end
  82.  
  83. function eventKeyboard(name,key,down,x,y)
  84.         if key==32 then
  85.                 tfm.exec.movePlayer(name,0,0,true,0,-50,false)
  86.         end
  87. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement