×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Seção Editor de Mapas e Modules
  • /
  • [Pedidos e Exemplos] Mega Galeria LUA
« ‹ 23 / 30 › »
[Pedidos e Exemplos] Mega Galeria LUA
Hugotitas
« Citoyen »
1442452980000
    • Hugotitas#0000
    • Profil
    • Derniers messages
    • Tribu
#441
  0
a dit :
henrique2017 disse:
Theirwaste disse:Ocultar
Theirwaste disse:Ocultar
Quero um scipt de salto em distancia bem longo.

^


acho que fiz algo estranho sem necessidades mas ta ai :V #editei '-'
No -50 edita pra quanto quiser que o pulo seje grande.


Spoiler


Rato= "" -- seu nick de controle

for name in pairs(tfm.get.room.playerList) do
for keys, w in pairs({38}) do
tfm.exec.bindKeyboard(Rato, w, true, true)
end
end

function eventKeyboard(Rato, key, down, x, y)
if key == 38 then
tfm.exec.movePlayer(Rato, 0, 0, true, 0, -50, false)
end
end

Eu acho que esta errado,mais sabe eu acho
Stheblindd
« Citoyen »
1442520480000
    • Stheblindd#0000
    • Profil
    • Derniers messages
    • Tribu
#442
  0
Hugotitas a dit :
Eu acho que esta errado,mais sabe eu acho

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
Betty
« Sénateur »
1442865480000
    • Betty#3317
    • Profil
    • Derniers messages
    • Tribu
#443
  0
Stheblindd a dit :
Hugotitas a dit :
Eu acho que esta errado,mais sabe eu acho

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

errado
Stheblindd
« Citoyen »
1442867520000
    • Stheblindd#0000
    • Profil
    • Derniers messages
    • Tribu
#444
  0
Theirwaste a dit :
errado

tá
Betty
« Sénateur »
1443293700000
    • Betty#3317
    • Profil
    • Derniers messages
    • Tribu
#445
  0
Stheblindd a dit :
Theirwaste a dit :
errado

tá

arruma?
Hugotitas
« Citoyen »
1443386820000
    • Hugotitas#0000
    • Profil
    • Derniers messages
    • Tribu
#446
  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
Truvie
« Citoyen »
1443472860000
    • Truvie#0000
    • Profil
    • Derniers messages
    • Tribu
#447
  0
alguém me arranja um script que o rato lança cn, apertando espaço ou ceta pra baixo?
Estheeer
« Citoyen »
1443568620000
    • Estheeer#0000
    • Profil
    • Derniers messages
#448
  0
Estheeer a dit :
Algum script que tenha a ver com festa
Agradeço
:D

^
Betty
« Sénateur »
1443606120000
    • Betty#3317
    • Profil
    • Derniers messages
    • Tribu
#449
  0
Estheeer a dit :
Estheeer a dit :
Algum script que tenha a ver com festa Agradeço :D

^

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]])
Moricou
« Citoyen »
1443966180000
    • Moricou#0000
    • Profil
    • Derniers messages
#450
  0
como eu coloco isso no cafofo?
Halltxs
« Citoyen »
1443967560000
    • Halltxs#0000
    • Profil
    • Derniers messages
    • Tribu
#451
  0
moricou a dit :
como eu coloco isso no cafofo?

Digita /lua no cafofo copia o script e cola no lua '-'
Moricou
« Citoyen »
1443998700000
    • Moricou#0000
    • Profil
    • Derniers messages
#452
  0
gente qual e o script pra fazer vacas e a montanha juntos? ha e usando fly
Moricou
« Citoyen »
1443999660000
    • Moricou#0000
    • Profil
    • Derniers messages
#453
  0
gente eu quero um script q pssa controlar alguem e tambemquero saber monde colocao meu nome e o nme do rato comtrolado
Glindor
« Citoyen »
1444935360000
    • Glindor#0000
    • Profil
    • Derniers messages
    • Tribu
#454
  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
Laagaadoo
« Citoyen »
1445021100000
    • Laagaadoo#0000
    • Profil
    • Derniers messages
    • Tribu
#455
  0
Glindor a dit :
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?

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:
http://i.imgur.com/DjtqCHS.png

se você quiser que o rato precise fazer a animação de sentar, me fale
Glindor
« Citoyen »
1445026020000
    • Glindor#0000
    • Profil
    • Derniers messages
    • Tribu
#456
  0
Laagaadoo a dit :
Glindor a dit :
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?

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 &gt;= x1 and x &lt;= x2) and (y &gt;= y1 and y &lt;= 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:
http://i.imgur.com/DjtqCHS.png

se você quiser que o rato precise fazer a animação de sentar, me fale

como eu sei q ta guardando mesmo?
Taric
« Citoyen »
1445046720000
    • Taric#5206
    • Profil
    • Derniers messages
    • Tribu
#457
  0
Glindor a dit :
Laagaadoo a dit :
Glindor a dit :
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?

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 &gt;= x1 and x &lt;= x2) and (y &gt;= y1 and y &lt;= 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:
http://i.imgur.com/DjtqCHS.png

se você quiser que o rato precise fazer a animação de sentar, me fale

como eu sei q ta guardando mesmo?

Guardando oq porra?
explica direito
Ausy
« Citoyen »
1445340960000
    • Ausy#7732
    • Profil
    • Derniers messages
    • Tribu
#459
  0
alguem tem script do mini gamer #fight????
Fofinhoppp
« Consul »
1445342220000
    • Fofinhoppp#0000
    • Profil
    • Derniers messages
    • Tribu
#460
  0
Rafszika a dit :
alguem tem script do mini gamer #fight????

/module fight
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Seção Editor de Mapas e Modules
  • /
  • [Pedidos e Exemplos] Mega Galeria LUA
« ‹ 23 / 30 › »
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27