| |
| « Citoyen » 1534192860000
| 0 | ||
| ehm... sorry again for disturbing for simple things but I'm so noob in scripts... How can i change this and adding more people to the admin and let their color names be red like in this script... a dit : I tryed some ways that I found in this thread but they doesn't work for me... Idk why... a dit : a dit : a dit : I need it for let them write a chat command that is all setted up already and it works... |
| « Consul » 1534199460000
| 0 | ||
Themiachale a dit : You could use loops, f.e.: Code Lua 1 2 3 4 admin= {"Themiachale#0000", "name", "name"}Code Lua 1 2 3 4 admin= {"Themiachale#0000", "name", "name"}Code Lua 1 2 3 4 admin= {"Themiachale#0000", "name", "name"} |
| « Sénateur » 1534200120000
| 2 | ||
Themiachale a dit : Code Lua 1 2 3 4 5 6 7 8 9 10 11 12 13 local admins = { |
| « Citoyen » 1534205640000
| 0 | ||
| Ehm... with the new admin script now the command doesn't work... a dit : I've used this script: a dit : |
| « Sénateur » 1534207500000
| 2 | ||
Themiachale a dit : a dit : Dernière modification le 1534207560000 |
| « Citoyen » 1534211340000
| 0 | ||
a dit : Thanks so much. |
| « Censeur » 1534334340000
| 0 | ||
| Is it possible to change map's gravity with lua? And if it is possible, how can I do? |
| « Sénateur » 1534336500000
| 3 | ||
Kerberos a dit : You can load a map, get its XML, insert the gravity you want in it and load the XML |
| « Censeur » 1534339380000
| 0 | ||
Bolodefchoco a dit : Thank you so much *-* |
| « Censeur » 1534621080000
| 1 | ||
| I'm creating tribe house password script and I don't know how to put to the array all the new players. Script: 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 admin = "" Example: Player1 sets the password and he is admin. Player2 wants to enter tribe house but he must enter the password. And I want to teleport Player2 every 500ms with eventLoop(). And this isn't problem but there are Player3, Player4 and Player5 and they should teleport every 500ms too. I tried to save new player in "waiting" array but something is wrong. Second thing: how can I concatenate text with variables? I tried + and , operator but it doesn't work. print("Password: " + password). How can I get this effect with LUA? Sorry if I posted in wrong thread but I couldn't find better one. sry for my english |
| « Sénateur » 1534623120000
| 4 | ||
| Hey, your EN is not bad :P I suggest you to put the players in a set (indexes, not values). Code Lua 1 2 3 4 5 6 7 8 9 10 waiting = { }And, to teleport them: Code Lua 1 2 3 4 5 eventLoop = function() To concatenate in Lua we use the operator .. . Yes, two dots. Code Lua 1 2 local password = "test" |
| « Censeur » 1534623540000
| 0 | ||
| ^ Thank you very much! :) |
| 0 | ||
| I want a double shaman on a map Pls need |
| « Sénateur » 1534630980000
| 2 | ||
Sxeg a dit : To have two shamans in your map it must be P8 or P32. To do so in lua: (i didn't test tho) 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 local getTwoRandomPlayers = function() |
| « Citoyen » 1534668420000
| 0 | ||
| ---i dont need anymore--- Dernière modification le 1534686120000 |
| « Citoyen » 1534765320000
| 0 | ||
| How can i make a text that can appear just to the player that pressed a button? |
| « Sénateur » 1534768800000
| 4 | ||
Awesomz a dit : Code Lua 1 2 3 4 5 6 7 ui.addTextArea(0, "<a href='event:button'>click", nil) |
| « Citoyen » 1534785180000
| 0 | ||
| Hi i need help i want this code ground's there are 10 seccond's remove and come back but same ground's have miceCollision and i can't this help me Pls THX :3 Code a dit : not : already i want only colorful ground's Dernière modification le 1534785240000 |
| « Sénateur » 1534791540000
| 3 | ||
| I have no idea about what you want ^ |
| « Consul » 1534806540000
| 0 | ||
Bolodefchoco a dit : Ummm, I think, it's like... Per 10 secs a ground's collision mechanics will be changed... |