Module API FAQ |
Epicshawty « Citoyen » 1380394740000
| 0 | ||
Tailtong a dit : I fixed some errors for you ^^ I'll try fixing more errors if I find any! Shamousey a dit : Well well well, lua expert showing off :c |
Tailtong « Citoyen » 1380395220000
| 0 | ||
Epicshawty a dit : may i ask what errors |
Epicshawty « Citoyen » 1380395220000
| 0 | ||
Tailtong a dit : Just OCD errors. (gets on my nerves) |
Tailtong « Citoyen » 1380397440000
| 0 | ||
how to make a !fly command |
Evilsantah « Citoyen » 1380397560000
| 0 | ||
Epicshawty a dit : SH4M0US3Y suks. |
Epicshawty « Citoyen » 1380397800000
| 0 | ||
Evilsantah a dit : ! 4GR33 |
Tailtong « Citoyen » 1380397920000
| 0 | ||
i added a teleportation thing to tribes, thanks (again) epic |
Epicshawty « Citoyen » 1380398040000
| 0 | ||
Tailtong a dit : You're welcome. What did you add exactly? |
Tailtong « Citoyen » 1380400380000
| 0 | ||
Epicshawty a dit : i added this |
Epicshawty « Citoyen » 1380400500000
| 0 | ||
Tailtong a dit : oh ok :P i can add it to the shortened one |
Tailtong « Citoyen » 1380400860000
| 0 | ||
no need to do it |
Epicshawty « Citoyen » 1380400980000
| 0 | ||
Tailtong a dit : alright ^ |
0 | ||
How i can do a invisible command? (Aritxy) !chat How i can do that invisible? I have this: function eventChatCommand(name,command) if command=="ayuda" then ui.addPopup(0,0,"<b>Conjugation</b> es un mini juego con la rotación de los mapas de vanilla y en los mapas, no hay chamán, pero los ratones, podéis conjugar dando un click en el sitio que queráis conjugar. <b>Comandos:</b> <b>!mort</b> - Es lo mismo que /mort, mueres.",name,270,200,300) elseif command=="mort" then tfm.exec.killPlayer(name) --Kills player if !mort end end |
Shamousey « Consul » 1380402900000
| 0 | ||
You can hide commands from showing up in the chat with system.disableChatCommandDisplay. a dit : |
0 | ||
Shamousey a dit : |
Shamousey « Consul » 1380404040000
| 0 | ||
Aritxy a dit : Your !givevictory command works fine in this script. The tfm.exec.playerVictory() function only has the same effect as taking someone to the hole - you must have cheese in order for it to work. |
0 | ||
Shamousey a dit : Oh xd ty Other question xd Can i make a commands but thats commands only can use the admins? And can i make someone admin whit !admin username? |
Fluffyshine « Citoyen » 1380404340000
| 0 | ||
Why can’t we use system.newTimer? >:U |
Shamousey « Consul » 1380404580000
| 0 | ||
You could just simply use another if statement if you really wanted. a dit : There are far better ways to do this - I'll write a small example up to show how later in more depth. Fluffyshine a dit : Timers can be a strain on the server. |
Dharakoid « Citoyen » 1380405360000
| 0 | ||
Epicshawty a dit : No Arixty's code works? |