| |
| « Citoyen » 1534837080000
| 0 | ||
| Fixed code. |
| « Citoyen » 1534841160000
| 0 | ||
| How to count elements in the array? Dernière modification le 1534842540000 |
| « Censeur » 1534849680000
| 2 | ||
| I have code it allows VIP players to change nickname colour. But when there are a lot of VIPs in room, code become buggy. If someone use !nickcolor command and if this person is VIP, color picker will appear to him. But sometimes LUA shows color pickers to other VIPs. I think the problem appears when two players use !nickcolor at the same time but I have no idea how to fix it. Fragment of code: Code Lua 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 elseif com=="nickcolor" then In vips array I have all the VIPs. I know the code can be funny for LUA pros but I'm still learning and sorry about that :D Thx in advance. |
| « Sénateur » 1534873080000
| 5 | ||
Ryzjot a dit : Use the operator # #array Boxofkrain a dit : Suggestion: use sets Code Lua 1 2 3 4 5 6 7 8 9 10 local vips = { |
| « Citoyen » 1534883820000
| 0 | ||
| Thanks, you helped me a lot! |
| « Censeur » 1535117580000
| 0 | ||
| Is it possible to add NPC in tribehouse (Like Bots in village but can't give item, title etc.)? |
| « Consul » 1535119740000
| 0 | ||
Kerberos a dit : kinda |
| « Consul » 1535121540000
| 0 | ||
Honorabilis a dit : It won't work in tribehouse, it uses Module team's functions (tfm.exec.addImage, system.newTimer). |
| « Sénateur » 1535122440000
| 4 | ||
Kerberos a dit : Well, I can make #bolodefchoco0npc for you. You just need to say what does the bot do and why you need it |
| « Censeur » 1535142000000
| 0 | ||
Bolodefchoco a dit : Thanks a lot, I just wanna make my tribe house cooler *-* |
| « Sénateur » 1535146320000
| 4 | ||
Kerberos a dit : Ask Envidiame#0000 for the bot script I made. :P It doesn't move tho. It's just a map with some drawing answering stuff |
| « Censeur » 1535188740000
| 0 | ||
Bolodefchoco a dit : Tysmmm |
| « Citoyen » 1535413500000
| 0 | ||
| Could you make a windows error code? xD |
| « Citoyen » 1535468340000
| 1 | ||
| Hi i need a pages system i try but not working :P example : LeaderBoard #1 Name score #2 Name score #3 Name score #4 Name score #5 Name score Next Page button Next page : #6 Name score #7 Name score #8 Name score #9 Name score #10 Name score Previous page button Dernière modification le 1535468400000 |
| « Citoyen » 1535555400000
| 1 | ||
Mutluerkek a dit : One way doing this: 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 ranking = {Dernière modification le 1535555460000 |
| « Citoyen » 1535580720000
| 0 | ||
Athesdrake a dit : oh why not think me thx men :^3 |
| « Citoyen » 1536689520000
| 0 | ||
| How to destroy shaman object? |
| « Sénateur » 1536696360000
| 0 | ||
Choristos a dit : addShamanObject returns the object ID. Once you have it (addShamanObject or a for in objectList), use tfm.exec.removeObject(ID) |
| 1537085820000
| | ||
| [Modéré par Batt_mellamy, raison : Please speak English in the EN forums!] |
| 1537101780000
| | ||
| [Modéré par Batt_mellamy, raison : Reply to moderated post] |