Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for nick in pairs(tfm.get.room.playerList) do
- tfm.exec.bindKeyboard(nick,38,true)
- end
- for nick in pairs(tfm.get.room.playerList) do
- tfm.exec.bindKeyboard(nick,112,true)
- end
- for nick in pairs(tfm.get.room.playerList) do
- tfm.exec.bindKeyboard(nick,113,true)
- end
- for nick in pairs(tfm.get.room.playerList) do
- tfm.exec.bindKeyboard(nick,90,true)
- end
- for nick in pairs(tfm.get.room.playerList) do
- tfm.exec.bindKeyboard(nick,32,true)
- end
- for nick in pairs(tfm.get.room.playerList) do
- tfm.exec.bindKeyboard(nick,73,true)
- end
- for nick in pairs(tfm.get.room.playerList) do
- tfm.exec.bindKeyboard(nick,75,true)
- end
- for nick in pairs(tfm.get.room.playerList) do
- tfm.exec.bindKeyboard(nick,74,true)
- end
- for nick in pairs(tfm.get.room.playerList) do
- tfm.exec.bindKeyboard(nick,76,true)
- end
- for nick in pairs(tfm.get.room.playerList) do
- tfm.exec.bindKeyboard(nick,77,true)
- end
- for nick in pairs(tfm.get.room.playerList) do
- tfm.exec.bindKeyboard(nick,78,true)
- end
- Admin={Bartekgajes=1,Googoopl=1,Mysiaptysia=1,Chanelltfm=1}
- UAdmin={Tengosciu=1,Olinicia=1,Olikotek=1,Yaket=1,Tengosciu=1,Mangosweet=1}
- BAdmin={Mandarynkapx=1,Erykxx=1,Lumulus=1}
- CAdmin={Rastapl=1}
- DAdmin={Karolciakic=1,Wizualny=1}
- Zwykli={}
- function eventLoop()
- for nick in pairs(Admin) do
- tfm.exec.setNameColor(nick,0xffd700)
- end
- for nick in pairs(UAdmin) do
- tfm.exec.setNameColor(nick,0x00DB0D)
- end
- for nick in pairs(BAdmin) do
- tfm.exec.setNameColor(nick,0xEE873D)
- end
- for nick in pairs(CAdmin) do
- tfm.exec.setNameColor(nick,0x3FFE01)
- end
- for nick in pairs(DAdmin) do
- tfm.exec.setNameColor(nick,0xff3366)
- end
- end
- function eventKeyboard(nick,klaw,wd,x,y)
- if klaw==32 and nick=="Bartekgajes" then
- tfm.exec.movePlayer(nick,0,0,true,0,-50,true)
- tfm.exec.displayParticle(29,x+5,y+15,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-15,y+15,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-5,y+18,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x+10,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-20,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-10,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x,y+10,0,0,0,0,nil)
- elseif klaw==32 and nick=="Adekab" then
- tfm.exec.movePlayer(nick,0,0,true,0,-50,true)
- elseif klaw==32 and nick=="Mysiaptysia" then
- tfm.exec.movePlayer(nick,0,0,true,0,-50,true)
- tfm.exec.displayParticle(29,x+5,y+15,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-15,y+15,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-5,y+18,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x+10,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-20,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-10,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x,y+10,0,0,0,0,nil)
- elseif klaw==32 and nick=="Olinicia" then
- tfm.exec.movePlayer(nick,0,0,true,0,-50,true)
- tfm.exec.displayParticle(29,x+5,y+15,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-15,y+15,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-5,y+18,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x+10,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-20,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-10,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x,y+10,0,0,0,0,nil)
- elseif klaw==32 and nick=="Olikotek" then
- tfm.exec.movePlayer(nick,0,0,true,0,-50,true)
- tfm.exec.displayParticle(29,x+5,y+15,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-15,y+15,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-5,y+18,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x+10,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-20,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-10,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x,y+10,0,0,0,0,nil)
- elseif klaw==32 and nick=="Mandarynkapx" then
- tfm.exec.movePlayer(nick,0,0,true,0,-50,true)
- elseif klaw==32 and nick=="Wizualny" then
- tfm.exec.movePlayer(nick,0,0,true,0,-50,true)
- elseif klaw==32 and nick=="Yaket" then
- tfm.exec.movePlayer(nick,0,0,true,0,-50,true)
- tfm.exec.displayParticle(29,x+5,y+15,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-15,y+15,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-5,y+18,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x+10,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-20,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-10,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x,y+10,0,0,0,0,nil)
- elseif klaw==32 and nick=="Erykxx" then
- tfm.exec.movePlayer(nick,0,0,true,0,-50,true)
- elseif klaw==32 and nick=="Googoopl" then
- tfm.exec.movePlayer(nick,0,0,true,0,-50,true)
- tfm.exec.displayParticle(29,x+5,y+15,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-15,y+15,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-5,y+18,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x+10,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-20,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-10,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x,y+10,0,0,0,0,nil)
- elseif klaw==32 and nick=="Mangosweet" then
- tfm.exec.movePlayer(nick,0,0,true,0,-50,true)
- tfm.exec.displayParticle(29,x+5,y+15,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-15,y+15,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-5,y+18,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x+10,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-20,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x-10,y+10,0,0,0,0,nil)
- tfm.exec.displayParticle(29,x,y+10,0,0,0,0,nil)
- elseif klaw==73 and nick=="Bartekgajes" then
- tfm.exec.movePlayer(nick,x,y-100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==74 and nick=="Bartekgajes" then
- tfm.exec.movePlayer(nick,x-100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==75 and nick=="Bartekgajes" then
- tfm.exec.movePlayer(nick,x,y+100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==76 and nick=="Bartekgajes" then
- tfm.exec.movePlayer(nick,x+100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==73 and nick=="Mandarynkapx" then
- tfm.exec.movePlayer(nick,x,y-100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==74 and nick=="Mandarynkapx" then
- tfm.exec.movePlayer(nick,x-100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==75 and nick=="Mandarynkapx" then
- tfm.exec.movePlayer(nick,x,y+100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==76 and nick=="Mandarynkapx" then
- tfm.exec.movePlayer(nick,x+100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==73 and nick=="Olikotek" then
- tfm.exec.movePlayer(nick,x,y-100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==74 and nick=="Olikotek" then
- tfm.exec.movePlayer(nick,x-100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==75 and nick=="Olikotek" then
- tfm.exec.movePlayer(nick,x,y+100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==76 and nick=="Olikotek" then
- tfm.exec.movePlayer(nick,x+100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==73 and nick=="Adekab" then
- tfm.exec.movePlayer(nick,x,y-100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==74 and nick=="Adekab" then
- tfm.exec.movePlayer(nick,x-100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==75 and nick=="Adekab" then
- tfm.exec.movePlayer(nick,x,y+100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==76 and nick=="Adekab" then
- tfm.exec.movePlayer(nick,x+100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==73 and nick=="Olinicia" then
- tfm.exec.movePlayer(nick,x,y-100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==74 and nick=="Olinicia" then
- tfm.exec.movePlayer(nick,x-100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==75 and nick=="Olinicia" then
- tfm.exec.movePlayer(nick,x,y+100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==76 and nick=="Olinicia" then
- tfm.exec.movePlayer(nick,x+100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==73 and nick=="Googoopl" then
- tfm.exec.movePlayer(nick,x,y-100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==74 and nick=="Googoopl" then
- tfm.exec.movePlayer(nick,x-100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==75 and nick=="Googoopl" then
- tfm.exec.movePlayer(nick,x,y+100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==76 and nick=="Googoopl" then
- tfm.exec.movePlayer(nick,x+100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==73 and nick=="Mysiaptysia" then
- tfm.exec.movePlayer(nick,x,y-100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==74 and nick=="Mysiaptysia" then
- tfm.exec.movePlayer(nick,x-100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==75 and nick=="Mysiaptysia" then
- tfm.exec.movePlayer(nick,x,y+100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==76 and nick=="Mysiaptysia" then
- tfm.exec.movePlayer(nick,x+100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==73 and nick=="Yaket" then
- tfm.exec.movePlayer(nick,x,y-100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==74 and nick=="Yaket" then
- tfm.exec.movePlayer(nick,x-100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==75 and nick=="Yaket" then
- tfm.exec.movePlayer(nick,x,y+100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==76 and nick=="Yaket" then
- tfm.exec.movePlayer(nick,x+100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==73 and nick=="Mangosweet" then
- tfm.exec.movePlayer(nick,x,y-100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==74 and nick=="Mangosweet" then
- tfm.exec.movePlayer(nick,x-100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==75 and nick=="Mangosweet" then
- tfm.exec.movePlayer(nick,x,y+100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==76 and nick=="Mangosweet" then
- tfm.exec.movePlayer(nick,x+100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==73 and nick=="Chanelltfm" then
- tfm.exec.movePlayer(nick,x,y-100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==74 and nick=="Chanelltfm" then
- tfm.exec.movePlayer(nick,x-100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==75 and nick=="Chanelltfm" then
- tfm.exec.movePlayer(nick,x,y+100,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==76 and nick=="Chanelltfm" then
- tfm.exec.movePlayer(nick,x+100,y,false,0,1,false)
- tfm.exec.displayParticle(35,x,y,0,0,0,0,nil)
- elseif klaw==77 then
- tfm.exec.movePlayer(nick,1,0,true,15,0,true)
- elseif klaw==78 then
- tfm.exec.movePlayer(nick,-1,0,true,-15,0,true)
- elseif klaw==38 then
- tfm.exec.movePlayer(nick,0,0,n,0,-50*2.50)
- elseif klaw==112 and nick=="Bartekgajes" then
- ui.addTextArea(1,"",n,-1e3,-1e3,2800,2400,1,1,0.7)
- elseif klaw==113 and nick=="Bartekgajes" then
- ui.removeTextArea(1)
- end
- end
- function eventEmotePlayed(nick,id)
- if id==0 and nick=="Olinicia" then
- tfm.exec.playEmote(nick,13)
- elseif id==0 and nick=="Olikotek" then
- tfm.exec.playEmote(nick,13)
- elseif id==0 and nick=="Mandarynkapx" then
- tfm.exec.playEmote(nick,13)
- elseif id==0 and nick=="Adekab" then
- tfm.exec.playEmote(nick,13)
- elseif id==0 and nick=="Wizualny" then
- tfm.exec.playEmote(nick,13)
- elseif id==0 and nick=="Yaket" then
- tfm.exec.playEmote(nick,13)
- end
- end
- function eventChatCommand(nick,komd)
- if komd=='s' and nick=="Bartekgajes" then
- tfm.exec.setShaman(nick)
- elseif komd=='s' and nick=="Adekab" then
- tfm.exec.setShaman(nick)
- elseif komd=='s' and nick=="Mysiaptysia" then
- tfm.exec.setShaman(nick)
- elseif komd=='s' and nick=="Olinicia" then
- tfm.exec.setShaman(nick)
- elseif komd=='s' and nick=="Olikotek" then
- tfm.exec.setShaman(nick)
- elseif komd=='s' and nick=="Yaket" then
- tfm.exec.setShaman(nick)
- elseif komd=='s' and nick=="Googoopl" then
- tfm.exec.setShaman(nick)
- elseif komd=='niewidka' and nick=="Bartekgajes" then
- tfm.exec.playEmote(nick,13)
- elseif komd=='niewidka' and nick=="Mysiaptysia" then
- tfm.exec.playEmote(nick,13)
- elseif komd=='niewidka' and nick=="Olincia" then
- tfm.exec.playEmote(nick,13)
- elseif komd=='niewidka' and nick=="Olikotek" then
- tfm.exec.playEmote(nick,13)
- elseif komd=='niewidka' and nick=="Mangosweet" then
- tfm.exec.playEmote(nick,13)
- elseif komd=='niewidka' and nick=="Chanelltfm" then
- tfm.exec.playEmote(nick,13)
- end
- end
- for v,komd in pairs({"s","niewidka"}) do
- system.disableChatCommandDisplay(komd,true)
- end
- function eventNewPlayer(playerName)
- tfm.exec.respawnPlayer(playerName)
- if Zwykli[nick] then
- ui.addTextArea(997,"",playerName,-1e3,-1e3,2800,2400,1,1,1,true)
- end
- system.bindMouse(playerName, true)
- tfm.exec.setUIMapName("<B><VP>Chanell Transformice<VP><B>")
- ui.addTextArea(2,"<a href='event:regulamin'><font color='#FFC34D'><font/><B>Regulamin</B>",nil,695,30,nil,nil, 0x3D0000 ,0x050505, 3.0, true)
- ui.addTextArea(3,"<a href='event:rangi'><font color='#FFC34D'><font/><B>Rangi</B>",nil,710,60,nil,nil, 0x3D0000 ,0x050505, 3.0, true)
- end
- for playerName in pairs(tfm.get.room.playerList) do
- eventNewPlayer(playerName)
- end
- function eventTextAreaCallback(id,playerName,odp)
- if odp=="regulamin" then
- ui.addTextArea(7,"<p align='center'><font size='15'>REGULAMIN</font color='#FCFCFC'>\n1. Nie wyzywamy \n2.Nie spamujemy \n3. Nie reklamujemy \n4. Nie przeklinamy \n5. Nie piszemy że szukamy dziewczyny,chłopaka \n6. Nie używamy przemocy \n7. Nie puszczamy muzy w trakcie innej \n8. Nie wyłudzamy i szantażujemy \n9. Nie puszczamy filmów +18 \n10. Nie prosimy o range \n<R>Nie przestrzeganie regulaminu grozi wyrzuceniem, Regulamin wykonali Bartekgajes,Karolciakic",playerName,300,100,250,250,0x3D0000,0x050505,1.0,true)
- ui.addTextArea(8,"<a href='event:z'>Zamknij",playerName,400,330,nil,nil,0.0,0.0,0,true)
- elseif odp=="rangi" then
- ui.addTextArea(7,"<p align='center'><font size='15'>RANGI</font><R><font size='15'color='#DDDCED'> \n1. Rekrutacja 3 myszek \n2.Organizacja imprez \n3.Podium na konkursie \n4.Pomoc innym gdy potrzebują \n5.Aktywnosc",playerName,300,100,250,250,0x3D0000,0x050505,1.0,true)
- ui.addTextArea(8,"<a href='event:z'>Zamknij",playerName,400,330,nil,nil,0.0,0.0,0,true)
- elseif odp=="z" then
- ui.removeTextArea(7)
- ui.removeTextArea(8)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement