Lua Snippets |
![]() ![]() « Citoyen » 1380454260000
| 0 | ||
Teleport a dit : I don't get it it's the teleport script but what button should i press to teleport? |
![]() ![]() « Citoyen » 1380454260000
| 0 | ||
space since its id is 32 |
![]() ![]() « Citoyen » 1380454500000
| 0 | ||
Tailtong a dit : Im pressing space,but it just flies. |
![]() ![]() « Citoyen » 1380454500000
| 0 | ||
because function eventKeyboard(name,key,down,x,y) if key==32 then tfm.exec.movePlayer(name,0,0,true,0,-50,false) end end is a flying script |
![]() ![]() « Citoyen » 1380454620000
| 0 | ||
Tailtong a dit : here it says that it'sa telepor scrpit http://lua.zz.mu/English%20Scripts/Teleport.lua lua.zz.mu If it isn't,then is there a teleport script? |
![]() ![]() « Citoyen » 1380454740000
| 0 | ||
for p,player in pairs(tfm.get.room.playerList) do system.bindMouse(p,true) end function eventMouse(p,x,y) tfm.exec.movePlayer(p,x,y) end ©epicshawty |
![]() ![]() « Citoyen » 1380454740000
| 0 | ||
Tailtong a dit : on what button? |
![]() ![]() « Citoyen » 1380454740000
| 0 | ||
mouse click |
![]() ![]() « Citoyen » 1380454860000
| 0 | ||
Tailtong a dit : Thanks! |
![]() ![]() « Citoyen » 1380455280000
| 0 | ||
I was playing around with the script and I'm not sure if this would change the color of one's name function eventChatCommand(name,command) if command=="color" then tfm.exec.setNameColor("Bengalstar", 0x6152BC) --Makes a player colored if !color end end also I can't use tab here for the first end so you might want to get rid of the space bars and use tab. also replace my name with yours and for the color you choose whichever one you want as long as you don't get rid of the "0x" thing I believe (or can you get rid of it?) |
![]() ![]() « Citoyen » 1380455280000
| 0 | ||
don't use an elseif, use an if |
![]() ![]() « Citoyen » 1380455400000
| 0 | ||
Tailtong a dit : ok ty |
![]() ![]() « Citoyen » 1380455520000
| 0 | ||
Kirilkiril a dit : You can also do it as a command if your making a game like that. a dit : |
![]() ![]() « Citoyen » 1380456060000
| 0 | ||
haha look at this a dit : Anti spirit with shaman range work for all , i don't know how are u gonna make it for shaman only but try to click near you |
![]() ![]() « Citoyen » 1380456660000
| 0 | ||
a dit : |
0 | ||
Thank you, Beach pr0 ♥ |
![]() ![]() « Citoyen » 1380456780000
| 0 | ||
here's a command to become a shampire function eventChatCommand(name,command) if command=="shampire" then tfm.exec.setShaman(name) tfm.exec.setVampirePlayer(name) end end |
![]() ![]() « Citoyen » 1380456960000
| 0 | ||
Bengalstar a dit : It's on first page if you didn't know. |
![]() ![]() « Citoyen » 1380456960000
| 0 | ||
Bengalstar a dit : you're missing an end |
![]() ![]() « Citoyen » 1380456960000
| 0 | ||
Beachking a dit : I made it a command lol Paperonaruto a dit : oops shall fix it worked just fine with 1 end at my tribe house |