| Lua Snippets |
| « Citoyen » 1380537060000
| 0 | ||
| Can someone do: 2 shamans custom map rotation give everyone except the shaman meeps |
| 0 | ||
Xxninjazxx a dit : You have to give us some more information about the custom map rotation. |
| « Citoyen » 1380537180000
| 0 | ||
| if you show me an example I can figure it out myself... |
| 0 | ||
Xxninjazxx a dit : Try this. a dit : |
| « Consul » 1380539340000
| 0 | ||
| Alternatively to Jordy's version, you can try this. a dit : |
| « Citoyen » 1380553680000
| 0 | ||
| Is there any juntor Lua, is only 2 in 1 scripts? xD Ex: It takes 2 scripts attached as 1 only. @GoogleTranslator |
| « Consul » 1380555720000
| 0 | ||
Mapsych a dit : That's very hard to understand, but you can easily put two scripts into one by copying & pasting the right bits of code, making sure you don't redefine any functions it uses. |
| « Citoyen » 1380557400000
| 0 | ||
| Hi I tried this script: function eventChatCommand(name,command)if command=="mort" thentfm.exec.killPlayer("Cincle")endend Why it is not working ? |
| « Consul » 1380557820000
| 0 | ||
| Your text is all on one line and causing some issues. For example "then tfm.exec..." has become "thentfm.exec..." which isn't valid. The same with "end end" being "endend". Try putting a space between these things, or using this below. a dit : |
| « Citoyen » 1380557940000
| 0 | ||
Cincle a dit : because that would kill the player cincle and because thentf.exec.killPlayer isn't vaild. try function eventChatCommand(name,command) if command=="die" then tfm.exec.killPlayer(name) end end Edit: Ninja. |
| « Citoyen » 1380558060000
| 0 | ||
Shamousey a dit : Hophipmice a dit : Thanks both! :) |
| « Citoyen » 1380558180000
| 1 | ||
Shamousey a dit : Well, i'll show you: Script1 a dit : Script2 a dit : Script 1 + Script 2 together :p |
| « Citoyen » 1380558420000
| 0 | ||
Cincle a dit : function eventChatCommand(name,command) if command=="mort" then tfm.exec.killPlayer(name) end end ^^^^ that. |
| « Citoyen » 1380558420000
| 0 | ||
| And If I can ask,how to make all players to use !mort command? :3 |
| « Citoyen » 1380558540000
| 0 | ||
Hophipmice a dit : Thank you. ^_^ And now if I can ask - What's the respawn script? :3 |
| 1380559320000
| | ||
| [Modéré par Katburger, raison : Please don't double post!] |
| « Citoyen » 1380560460000
| 0 | ||
Cincle a dit : as a command : a dit : should work, idk, i improvised it |
| « Citoyen » 1380560460000
| 0 | ||
Cincle a dit : For command or when somebody dies and respawns straight away? for respawning command: a dit : If somebody dies then respawn then: a dit : IF YOU ALREADY HAVE A COMMAND SET UP THEN UNDER THAT COMMAND, BEFORE END DO: a dit : Ninja, but mine, better... |
| « Citoyen » 1380564840000
| 0 | ||
| As I Usso key with vamp and fly? |
| « Citoyen » 1380565320000
| 0 | ||
| How do you make it so only one person can use commands like if i did !Roseyissweet she would die but if she did !Ethanrockz it wont work |