Script Requests |
Phuphle « Citoyen » 1586535180000
| 0 | ||
Hey all. Is it possible to utilise a chat command such as /npp in a tfm lua script? I'm trying to make a module where there is a queue of the next maps to be played and every player can have one map in that queue at a time. If /npp can't be used how can I detect when a round has ended (all mice have died or the timer is 0) efficiently? Do i have to constantly use event loop? Thanks, Phuphle. |
Aen_elle « Citoyen » 1587072900000
| 0 | ||
Hi, I carefully looked at the documentation, but could not find :c Any way to give mice rolling? Like skill "Rollout" in Physicist? Thanks |
Bolodefchoco « Sénateur » 1587074940000
| 1 | ||
Liberrate a dit : You can't make it shine, but you can use invisible textareas above something. I recommend you my undocumented callback class. To make it trigger callbacks, you have to add this to your code: Code Lua 1 2 3 4 5 6 eventTextAreaCallback = function(id, playerName, eventName) To create them, you use 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 -- (str) Name of the object, (int) X position, (int) Y position, (int) Width, (int) Height, (bool) Whether it starts invisible or visible (default = visible = false) Phuphle a dit : 1 - You can't 2 - Yes, you need to rely on eventLoop For performance in checking alive players, I recommend you this thread. Code Lua 1 2 3 4 5 eventLoop = function(elapsedTime, remainingTime) Aen_elle a dit : No :( Dernière modification le 1587075840000 |
0 | ||
if the player is at the 3rd checkpoint and leaves the room, player resumes when player comes back what is this code |
Authory « Citoyen » 1587396360000
| 0 | ||
Can we create a title menu for lua? |
Perfecteca « Sénateur » 1588542180000
| 0 | ||
nvm Dernière modification le 1590068340000 |
0 | ||
I wanted to request a script that put two xml together thank you |
Boxofkrain « Censeur » 1589292900000
| 0 | ||
Yteiz a dit : Code Lua 1 2 3 xml1 = '' |
Mouseexyx « Citoyen » 1591645140000
| 0 | ||
is it possible for a script to kill a mouse everytime the mouse pressed the down arrow key? |
Boxofkrain « Censeur » 1591647900000
| 0 | ||
Mouseexyx a dit : 1 2 3 4 5 6 7 8 9 10 11 function eventKeyboard(n) Dernière modification le 1591683120000 |
Bolodefchoco « Sénateur » 1591651620000
| 1 | ||
if it's just the down arrow key in the script then you can use eventKeyboard = tfm.exec.killPlayer |
Ragnarx « Citoyen » 1592342100000
| 0 | ||
...... Dernière modification le 1592481360000 |
0 | ||
Hello, I'm looking for a lua script that has vanilla maps where we race in teams without a shaman. I have a script like that but it's an old version, I'm looking for a version that includes more vanilla maps, and if possibly newer ones as well. Thanks! |
Boxofkrain « Censeur » 1593851040000
| 0 | ||
Lalajb a dit : Just add them manually? |
Osmanyksk123 « Consul » 1593889860000
| 0 | ||
how to be invisible when !mod writes |
0 | ||
Boxofkrain a dit : I wasn't aware I could do that, thanks! |
Admiire_me « Citoyen » 1594471380000
| 0 | ||
hey, i've this football script (special thanks to codes of makinit, eliaseeg, thewav, bolodefchoco, tat#0095 and shamousey) Here 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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 local map = '<C><P F="0" L="1400" /><Z><S><S L="26" X="13" H="104" Y="328" T="9" P="0,0,,,,0,0,0" /><S L="26" H="104" X="1387" Y="327" T="9" P="0,0,,,,0,0,0" /><S P="0,0,0,0.3.2,0,0,0,0" L="1400" X="700" Y="389" T="6" H="21" /></S><D /><O /></Z></C>' but sometimes doesn't work goal system because eventLoop it's every 0.5s :( who can help me? |
0 | ||
Osmanyksk123 a dit : Code Lua 1 2 3 4 5 6 7 8 9 10 11 moderators = {["Osmanyksk123#5925"]=true,["Mod2#0000"]=true,["Mod3#0000"]=true} Dernière modification le 1598812560000 |
Government « Citoyen » 1601277300000
| 0 | ||
Searching for a giveaway lua script . |
0 | ||
Government a dit : Hey, i'm still new to lua but here you go 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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 local giveaway = {}--will store the ones who wants to participate Thanks noob Athesdrake#0000 for helping me fixing it. Dernière modification le 1602175860000 |