| |
| « Citoyen » 1517580300000
| 0 | ||
| When you click space to someone the button i mean and when you click on a person example (you clicked space on me) i will get teleported back somewhere |
| « Sénateur » 1517582460000
| 0 | ||
Overjoy06 a dit : Assuming everyone can press space Code Lua 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 math.pythag = function(x1,y1,x2,y2,range) Marciskris a dit : Including the scripts they give you above, I'd say mod[n] is better than a function because it's faster. Also, you can use a string.split to make the command management easier: Code Lua 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 mod = {Name1 = true, Name2 = true} |
| « Citoyen » 1517621340000
| 0 | ||
| Is there a script that does this : theres a message saying you can be a guard or a prisoner then when you click guard it will teleport you somewhere |
| « Citoyen » 1517624760000
| 0 | ||
| Can a joint be deadly? |
| « Sénateur » 1517625180000
| 0 | ||
Overjoy06 a dit : You mean removed or something that kills you when you touch that? |
| 0 | ||
| Hello. I have a problem with Lua. function eventEmotePlayed(player, emote) if emote == 3 then tfm.exec.chatMessage(player .. " aşık gibi *-*") tfm.exec.giveCheese(player) end end I want to run this code, when is the mouse on the chair (Valentine Day's Chair). How can i do this ? Dernière modification le 1517679420000 |
| « Sénateur » 1517680380000
| 0 | ||
Ozalla a dit : You cannot use tfm.exec.chatMessage Also, what do you mean? This function is triggered when you play a emote no matter the location... Write in detail what you need Code Lua 1 2 3 4 5 6 7 8 9 10 11 12 13 14 math.pythag = function(x1,y1,x2,y2,range) Dernière modification le 1517762220000 |
| « Citoyen » 1517863920000
| 0 | ||
| Is it possible to add or remove decorations in the map ? like tables and chairs... (Without loading a new map) Also, is it possible to add a ground that looks like a dynamic ground but it is not dynamic. (dynamic grounds has a better look than normal grounds) |
| « Consul » 1517868180000
| 0 | ||
| I don't think that we can do it directly but if we use images instead of objects, it will be OK. -› I'm just thinking not answering. I'm not a pro of this. |
| « Sénateur » 1517869440000
| 0 | ||
Heniyengui a dit : Adding or removing decorations without a new game is impossible, but you can use (create) other tags in the XML to spawn images of the decorations, just like #hidenseek, or i don't know... You can set a negative mass for dynamic grounds and they will be stable, but I don't think they'll look like dynamic grounds :/ |
| « Citoyen » 1517945940000
| 0 | ||
| I don't know where to report this, Lua isn't working, there is a problem in the game. |
| « Sénateur » 1517947260000
| 0 | ||
Heniyengui a dit : Indeed. I heard that some friends were testing coroutines and lua stopped working.. so fragile :c |
| « Citoyen » 1518157380000
| 0 | ||
| Is there a lua script that divides the mices on 2 teams? |
| « Citoyen » 1518157980000
| 0 | ||
| Can anyone tell me whats the code for : If i pressed 5 then to show 5 emoticon how to do this |
| « Sénateur » 1518185100000
| 0 | ||
Overjoy06 a dit : Squalleze's code: Code Lua 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 setTeams = function(quantity) Hemant2002 a dit : Code Lua 1 2 3 4 system.bindKeyboard("Hemant2002", string.byte('5'), true, true) There's no way to display those rat faces you call emoticon tho Dernière modification le 1518185340000 |
| « Citoyen » 1518232260000
| 0 | ||
| No I meant that when I press 97 key than the person should play 1 emote The code was like this . Tfm.emote.emoji=5 something like this. Can u tell me the proper version of it |
| « Citoyen » 1518240360000
| 0 | ||
| Is there a script of making the meep kill people? |
| « Sénateur » 1518275580000
| 0 | ||
Hemant2002 a dit : Doesn't exist Overjoy06 a dit : What's sense? When I press space it kills instead of the explosion, it's easier to press space and kill only, meep becomes awful, unless you're looking for a timer.. if so, you can do that without meep! |
| « Citoyen » 1518361860000
| 0 | ||
Shamousey a dit : Whats this then? |
| « Sénateur » 1518362220000
| 0 | ||
Hemant2002 a dit : Emote, not emoji. Do tfm.exec.playEmote("Hemant2002", 0) |