![]() |
![]() ![]() « Censeur » 1549708920000
| 0 | ||
I need a script that will allow me to spawn a ground in size that can go trough map. |
![]() ![]() « Citoyen » 1550229060000
| 0 | ||
damn its been 6 days and nobody answered my question please help |
![]() ![]() « Sénateur » 1550241840000
| 0 | ||
Overjoy06 a dit : if the variable t is equals to 60 it executes the chunk inside the if |
![]() ![]() « Citoyen » 1550283600000
| 0 | ||
Bolodefchoco a dit : Do you need a different function for it or its just how it works |
![]() ![]() « Sénateur » 1550284680000
| 0 | ||
Overjoy06 a dit : I don't know what you want lol |
![]() « Citoyen » 1550296980000
| 0 | ||
How can i update a textArea every 5 seconds? and then end it at TextArea 10 |
![]() ![]() « Sénateur » 1550319900000
| 0 | ||
Defkyy a dit : Code Lua 1 2 3 4 5 6 7 8 9 10 11 12 13 14 local timer, times = 0, 0 |
![]() ![]() « Citoyen » 1550332320000
| 0 | ||
I'm asking for script
It would be best if you wouldn't had to write #nuber of player but if this is needed then its ok. Thanks ! Sorry for my broken english :c |
![]() ![]() « Sénateur » 1550332980000
| 2 | ||
Aplejacek a dit : 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 local admins = { I didn't test, but should work |
![]() ![]() « Citoyen » 1550411820000
| 0 | ||
Bolodefchoco a dit : Thank you very much! I wanted that admins could teleport and change other plaers size too thought but i really appricate what you have done! |
![]() ![]() « Sénateur » 1550413320000
| 0 | ||
but they can. !tp Tigrounette#0001 !size 5 Tigrounette#0001 |
![]() ![]() « Citoyen » 1550489820000
| 0 | ||
Bolodefchoco a dit : Oh really? Thank you really much, i tried doing it in wrong order. |
![]() « Citoyen » 1550821320000
| 0 | ||
Bolodefchoco a dit : How can you change the text? |
![]() ![]() « Sénateur » 1550831820000
| 0 | ||
^ The second parameter in line 6, "time", is where the text goes |
0 | ||
i want a code that if 3 people click a TextArea it would change the map. Make it quick take your time |
![]() ![]() « Citoyen » 1551430200000
| 0 | ||
L1x0 a dit : local players = 0 local isReady = false local countdown = 5 local gameStarted = false ui.addTextArea(1,"<a href='event:join'>Join game</a>",nil,350,180,300,40,nil,nil,0.8,true) function eventNewGame() if gameStarted then ui.removeTextArea(1,nil) --TODO CODES GO HERE end end function eventTextAreaCallback(id,n,call) if call=="join" then players = players + 1 if players > 3 then isReady = true ui.updateTextArea(1,"Game starts in 5 seconds",nil) end end end function eventLoop(t,r) if isReady then countdown = countdown - 0.5 ui.updateTextArea(1,"Game starts in "..math.ceil(countdown).." seconds") if countdown < 0 and not gameStarted then gameStarted = true --tfm.exec.newGame(mapcodehere) end end end I mean i'm not a pro at lua but i think this should work? :(( Dernière modification le 1551442080000 |
![]() ![]() « Citoyen » 1553736960000
| 2 | ||
script traitor please? |
![]() ![]() « Consul » 1554050280000
| 0 | ||
I need a script that activates different things when I use emotes: for example when I press the first emotion, I die and a box is spawned in my place |
0 | ||
Dramacorn a dit : Untested. If it does work, I just added random different effects for the first 5 emotes. 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 local playerSize, playerTransformations, playerLinking = {}, {}, {} Dernière modification le 1557053580000 |
![]() 1554433920000
| | ||
[Modéré par Batt_mellamy, raison : Please speak English in the EN forums // Por favor, no hables español en el foro Inglés. En vez de eso, clica en la bandera que está situada en la parte superior derecha de la pantalla y selecciona la bandera de España para ir al foro español.] |