![]() |
![]() ![]() « Citoyen » 1442452980000
| 0 | ||
a dit : Eu acho que esta errado,mais sabe eu acho |
![]() ![]() « Citoyen » 1442520480000
| 0 | ||
Hugotitas a dit : function eventNewPlayer(p) tfm.exec.bindKeyboard(p, 38, true, true) end for p, t in pairs(tfm.get.room.playerList) do eventNewPlayer(p) end function eventKeyboard(p,k,h,x,y) if key == 38 then tfm.exec.movePlayer(p,0,0,true,0,-50) end end acho q ta certo n to afim de testar |
0 | ||
Stheblindd a dit : errado |
![]() ![]() « Citoyen » 1442867520000
| 0 | ||
Theirwaste a dit : tá |
0 | ||
Stheblindd a dit : arruma? |
![]() ![]() « Citoyen » 1443386820000
| 0 | ||
Gente eu já consegui arruma Olha tecla = 32 forca = -32 function eventNewPlayer(n) tfm.exec.bindKeyboard(n,tecla,true,true) end for n,name in pairs(tfm.get.room.playerList)do eventNewPlayer(n) end function eventKeyboard(n,key) if key==tecla then tfm.exec.movePlayer(n,-10,-10,true,0,forca,true) end end Tecla pra pula espaço é só vocês apertarem espaço que o seu rato ira subi ate morre |
![]() ![]() « Citoyen » 1443472860000
| 0 | ||
alguém me arranja um script que o rato lança cn, apertando espaço ou ceta pra baixo? |
![]() ![]() « Citoyen » 1443568620000
| 0 | ||
Estheeer a dit : ^ |
0 | ||
Estheeer a dit : Tem o do ilha lights={"22" , "23" , "24"} pAtOnce=500 function eventLoop(ct,tr) for i=1,pAtOnce do tfm.exec.displayParticle(lights[math.random(#lights)],math.random(0,1200),math.random(0,400),0,0,0,0,nil) end end function eventNewGame () tfm.exec.setUIMapName("Festa na Tribo!") end ---Comando function eventChatCommand(name, com) if com=="mort" then tfm.exec.killPlayer(playerName) end end ---Opcões tfm.exec.disableAutoTimeLeft (false); tfm.exec.disableAutoNewGame (true); tfm.exec.disableAutoShaman(true); tfm.exec.disableAfkDeath(false); ---Respawn function eventNewPlayer(playerName) tfm.exec.respawnPlayer(playerName) end function eventPlayerDied(playerName) tfm.exec.respawnPlayer(playerName) end tfm.exec.newGame([[@4553100]]) |
![]() ![]() « Citoyen » 1443966180000
| 0 | ||
como eu coloco isso no cafofo? |
![]() ![]() « Citoyen » 1443967560000
| 0 | ||
moricou a dit : Digita /lua no cafofo copia o script e cola no lua '-' |
![]() ![]() « Citoyen » 1443998700000
| 0 | ||
gente qual e o script pra fazer vacas e a montanha juntos? ha e usando fly |
![]() ![]() « Citoyen » 1443999660000
| 0 | ||
gente eu quero um script q pssa controlar alguem e tambemquero saber monde colocao meu nome e o nme do rato comtrolado |
![]() ![]() « Citoyen » 1444935360000
| 0 | ||
algem me faz um pequeno script onde os ratos q forem numa cadeira e apertarem espaço têm seus nomes guardados numa tabela de forma aleatoria? Dernière modification le 1445019720000 |
![]() ![]() « Citoyen » 1445021100000
| 0 | ||
Glindor a dit : Não entendi bem o "de forma aleatória na tabela", mas tá aí: Código -- edita aqui de acordo com essa imagem: http://i.imgur.com/DjtqCHS.png x1 = 0 x2 = 0 y1 = 0 y2 = 0 ratos = {} function eventKeyboard(player, key, down, x, y) if key == 32 then if (x >= x1 and x <= x2) and (y >= y1 and y <= y2) then table.insert(ratos, player) end end end function eventNewPlayer(player) tfm.exec.bindKeyboard(player, 32, true, true) end for k in pairs(tfm.get.room.playerList) do eventNewPlayer(k) end só precisa alterar o valor das variáveis x1, x2, y1, y2 de acordo com essa imagem: ![]() se você quiser que o rato precise fazer a animação de sentar, me fale |
![]() ![]() « Citoyen » 1445026020000
| 0 | ||
Laagaadoo a dit : como eu sei q ta guardando mesmo? |
0 | ||
Glindor a dit : Guardando oq porra? explica direito |
0 | ||
alguem tem script do mini gamer #fight???? |
![]() ![]() « Consul » 1445342220000
| 0 | ||
Rafszika a dit : /module fight |