| |
| 1 | ||
Unikalus a dit : I made this a few pages ago. If this isn't what you want, please elaborate on what you want. 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 --[[ |
| « Citoyen » 1500918420000
| 0 | ||
Laagaadoo a dit : Yep! Thank you so much! |
| « Citoyen » 1500966780000
| 0 | ||
Onkei a dit : Yeah its good, but maybe its possible to change this Code Lua 1 2 3 4 5 6 7 8 9 if places == 1 then to survived players? If died last gets 20 2 - 15 3 - 5 Thank you. Dernière modification le 1500966840000 |
| 1 | ||
Unikalus a dit : This is untested (So might not work properly). I've only implemented it to give points to those who died, the surviving players will not get a point (Which is weird, so tell me if you want that added). The shaman by default will not be taken into account if they die. 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 --[[ Dernière modification le 1500995400000 |
| « Citoyen » 1501036380000
| 0 | ||
| Could you create a script in which all mice have invulnerability, meaning if you press space on any mouse you kill one, as well as people being able to kill you? (Kinda like what happens in traitor when your outvoted) |
| « Citoyen » 1501106160000
| 0 | ||
Zamzie789 a dit : Code Lua 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 local attackRadius = 50 -- radius to attack (in pixels) Dernière modification le 1501106640000 |
| « Citoyen » 1501178460000
| 0 | ||
| (I no longer need help) Dernière modification le 1501192200000 |
| « Consul » 1503321840000
| 0 | ||
| can you create a script, who does this: If I die, it respawns me in mouse spawn point. |
| 0 | ||
Marciskris a dit : Code Lua 1 2 3 function eventPlayerDied(n) |
| « Citoyen » 1503325260000
| 1 | ||
Onkei a dit : Better: Code Lua 1 eventPlayerDied = tfm.exec.respawnPlayer |
| 1503328080000
| | ||
| [Modéré par Winjid, raison : Irrelevant] |
| « Citoyen » 1503709860000
| 0 | ||
| lua code for paintball0mycity? Because I cant put password in the room and random people join Dx |
| « Censeur » 1504089300000
| 0 | ||
| I would like to ask how to make the last mouse alive win the game. (Also, if I ever used it in a script, would I have to credit the person who helps me?) |
| 1 | ||
Hypermousem a dit : You don't need to credit the person who helped you, but it's generally a good idea to do it (for respekt points) With comments 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 --[[ Without comments Code Lua 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 function eventPlayerDied(died) |
| « Censeur » 1504096620000
| 0 | ||
Onkei a dit : Thank you so much! ^^ This is just a script for the tribe, but I'll be sure to credit you! Dernière modification le 1504096680000 |
| « Citoyen » 1505034180000
| 0 | ||
| I need a script that can time how fast you are from spawning to winning. I need it to be atleast at the nearest decisecond preferably to the nearest centisecond. Also instead of from win time make it tell you the time from spawn to reaching a certain place without winning. So from the spawning point once your mouse runs past the x = 500px mark it will say how fast u are to get to 500px from spawning Dernière modification le 1505625780000 |
| 0 | ||
Noonicknames a dit : Code Lua 1 2 3 function eventPlayerWon(n, elapsed) |
| « Citoyen » 1505730900000
| 0 | ||
| Is there a way to limit what objects the shaman has access to, like in some vanilla maps? I found a code example from Shamousey that could be used for mostly the same effect: Code Lua 1 2 3 4 5 function eventSummoningEnd(name,objectType,x,y,angle,xSpeed,ySpeed,other) Is something like that the only way? Dernière modification le 1505731980000 |
| « Citoyen » 1506322800000
| 0 | ||
| Hi! I need a script that can change the time of the room (in real time) with a TextArea, where i can enter the seconds. (when i typing a command " !changetime") Please n.n |
| 0 | ||
Hackinnzkt a dit : Code Lua 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 local Timer = { |