×

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
  • /
  • [Lua] Peça scripts aqui!
« ‹ 25 / 133 › »
[Lua] Peça scripts aqui!
Mashmellliiiiiw
« Censeur »
1515803460000
    • Mashmellliiiiiw#7990
    • Profil
    • Derniers messages
    • Tribu
#481
  0
Mmeelloooo a dit :
Bolodefchoco a dit :
Mmeelloooo a dit :
Nettoork a dit :
Roxyrockster a dit :
um script que o rato cuspa um bloco de lava

Tentei fazer um ai pra você ... kkkkk

-- (Utilize a tecla [E] para tacar seu bloco de lava)

function eventNewPlayer(name)
system.bindKeyboard(name, 69, false)
end
for name in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end
n=1
function eventKeyboard(name,key,down,x,y)
if key == 69 then
n = n + 1
if tfm.get.room.playerList[name].isFacingRight then
tfm.exec.addPhysicObject(n,x+57,y,{type=14,width=5,height=5,restitution=30.0,miceCollision=false})
tfm.exec.addPhysicObject(n+1,x+68,y-30,{type=3,width=20,height=20,dynamic=true,restitution=30.0,angle=70})
else
tfm.exec.addPhysicObject(n,x-57,y,{type=14,width=5,height=5,restitution=30.0,miceCollision=false})
tfm.exec.addPhysicObject(n+1,x-68,y-30,{type=3,width=20,height=20,dynamic=true,restitution=30.0,angle=-70})
end
tfm.exec.removePhysicObject(n-4)
end
end

Nossa, muito obrigada, mas alguem tem script de chao e lava?

The floor is lava, por Osicat

Obrigada!

OI VACAAAAAAAAAAAAAAAAAAAAA

quero um script que quando vc aperta alguma tecla sai nyan cat vuando

Dernière modification le 1515803700000
Bolodefchoco
« Sénateur »
1515805500000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#482
  0
Lalalele356 a dit :
Mmeelloooo a dit :
Bolodefchoco a dit :
Mmeelloooo a dit :
Nettoork a dit :
Roxyrockster a dit :
um script que o rato cuspa um bloco de lava

Tentei fazer um ai pra você ... kkkkk

-- (Utilize a tecla [E] para tacar seu bloco de lava)

function eventNewPlayer(name)
system.bindKeyboard(name, 69, false)
end
for name in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end
n=1
function eventKeyboard(name,key,down,x,y)
if key == 69 then
n = n + 1
if tfm.get.room.playerList[name].isFacingRight then
tfm.exec.addPhysicObject(n,x+57,y,{type=14,width=5,height=5,restitution=30.0,miceCollision=false})
tfm.exec.addPhysicObject(n+1,x+68,y-30,{type=3,width=20,height=20,dynamic=true,restitution=30.0,angle=70})
else
tfm.exec.addPhysicObject(n,x-57,y,{type=14,width=5,height=5,restitution=30.0,miceCollision=false})
tfm.exec.addPhysicObject(n+1,x-68,y-30,{type=3,width=20,height=20,dynamic=true,restitution=30.0,angle=-70})
end
tfm.exec.removePhysicObject(n-4)
end
end

Nossa, muito obrigada, mas alguem tem script de chao e lava?

The floor is lava, por Osicat

Obrigada!

OI VACAAAAAAAAAAAAAAAAAAAAA

quero um script que quando vc aperta alguma tecla sai nyan cat vuando

Code Lua

1
2
3
4
5
6
7
8
9
eventNewPlayer = function(n)
system.bindKeyboard(n, 32, true, true)
end
table.foreach(tfm.get.room.playerList, eventNewPlayer)

eventKeyboard = function(n, k, d, x, y)
local facingValue = tfm.get.room.playerList[n].isFacingRight and 1 or -1
tfm.exec.addShamanObject(109, x + (15 * facingValue), y - 5, 0, 30 * facingValue)
end
Mashmellliiiiiw
« Censeur »
1515968940000
    • Mashmellliiiiiw#7990
    • Profil
    • Derniers messages
    • Tribu
#483
  0
Bolodefchoco a dit :
Lalalele356 a dit :
Mmeelloooo a dit :
Bolodefchoco a dit :
Mmeelloooo a dit :
Nettoork a dit :
Roxyrockster a dit :
um script que o rato cuspa um bloco de lava

Tentei fazer um ai pra você ... kkkkk

-- (Utilize a tecla [E] para tacar seu bloco de lava)

function eventNewPlayer(name)
system.bindKeyboard(name, 69, false)
end
for name in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end
n=1
function eventKeyboard(name,key,down,x,y)
if key == 69 then
n = n + 1
if tfm.get.room.playerList[name].isFacingRight then
tfm.exec.addPhysicObject(n,x+57,y,{type=14,width=5,height=5,restitution=30.0,miceCollision=false})
tfm.exec.addPhysicObject(n+1,x+68,y-30,{type=3,width=20,height=20,dynamic=true,restitution=30.0,angle=70})
else
tfm.exec.addPhysicObject(n,x-57,y,{type=14,width=5,height=5,restitution=30.0,miceCollision=false})
tfm.exec.addPhysicObject(n+1,x-68,y-30,{type=3,width=20,height=20,dynamic=true,restitution=30.0,angle=-70})
end
tfm.exec.removePhysicObject(n-4)
end
end

Nossa, muito obrigada, mas alguem tem script de chao e lava?

The floor is lava, por Osicat

Obrigada!

OI VACAAAAAAAAAAAAAAAAAAAAA

quero um script que quando vc aperta alguma tecla sai nyan cat vuando

Code Lua

1
2
3
4
5
6
7
8
9
eventNewPlayer = function(n)
system.bindKeyboard(n, 32, true, true)
end
table.foreach(tfm.get.room.playerList, eventNewPlayer)

eventKeyboard = function(n, k, d, x, y)
local facingValue = tfm.get.room.playerList[n].isFacingRight and 1 or -1
tfm.exec.addShamanObject(109, x + (15 * facingValue), y - 5, 0, 30 * facingValue)
end

obrigada, mas qual desses codicos sao o nyan cat?
Bolodefchoco
« Sénateur »
1515970740000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#484
  0
Lalalele356 a dit :
Bolodefchoco a dit :
Lalalele356 a dit :
Mmeelloooo a dit :
Bolodefchoco a dit :
Mmeelloooo a dit :
Nettoork a dit :
Roxyrockster a dit :
um script que o rato cuspa um bloco de lava

Tentei fazer um ai pra você ... kkkkk

-- (Utilize a tecla [E] para tacar seu bloco de lava)

function eventNewPlayer(name)
system.bindKeyboard(name, 69, false)
end
for name in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end
n=1
function eventKeyboard(name,key,down,x,y)
if key == 69 then
n = n + 1
if tfm.get.room.playerList[name].isFacingRight then
tfm.exec.addPhysicObject(n,x+57,y,{type=14,width=5,height=5,restitution=30.0,miceCollision=false})
tfm.exec.addPhysicObject(n+1,x+68,y-30,{type=3,width=20,height=20,dynamic=true,restitution=30.0,angle=70})
else
tfm.exec.addPhysicObject(n,x-57,y,{type=14,width=5,height=5,restitution=30.0,miceCollision=false})
tfm.exec.addPhysicObject(n+1,x-68,y-30,{type=3,width=20,height=20,dynamic=true,restitution=30.0,angle=-70})
end
tfm.exec.removePhysicObject(n-4)
end
end

Nossa, muito obrigada, mas alguem tem script de chao e lava?

The floor is lava, por Osicat

Obrigada!

OI VACAAAAAAAAAAAAAAAAAAAAA

quero um script que quando vc aperta alguma tecla sai nyan cat vuando

Code Lua

1
2
3
4
5
6
7
8
9
eventNewPlayer = function(n)
system.bindKeyboard(n, 32, true, true)
end
table.foreach(tfm.get.room.playerList, eventNewPlayer)

eventKeyboard = function(n, k, d, x, y)
local facingValue = tfm.get.room.playerList[n].isFacingRight and 1 or -1
tfm.exec.addShamanObject(109, x + (15 * facingValue), y - 5, 0, 30 * facingValue)
end

obrigada, mas qual desses codicos sao o nyan cat?

O primeiro 109 da linha 8. É a caixa pequena de Nyan Cat. Se não me engano, 209 é a caixa grande
Mashmellliiiiiw
« Censeur »
1515971640000
    • Mashmellliiiiiw#7990
    • Profil
    • Derniers messages
    • Tribu
#485
  0
Bolodefchoco a dit :
Lalalele356 a dit :
Bolodefchoco a dit :
Lalalele356 a dit :
Mmeelloooo a dit :
Bolodefchoco a dit :
Mmeelloooo a dit :
Nettoork a dit :
Roxyrockster a dit :
um script que o rato cuspa um bloco de lava

Tentei fazer um ai pra você ... kkkkk

-- (Utilize a tecla [E] para tacar seu bloco de lava)

function eventNewPlayer(name)
system.bindKeyboard(name, 69, false)
end
for name in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end
n=1
function eventKeyboard(name,key,down,x,y)
if key == 69 then
n = n + 1
if tfm.get.room.playerList[name].isFacingRight then
tfm.exec.addPhysicObject(n,x+57,y,{type=14,width=5,height=5,restitution=30.0,miceCollision=false})
tfm.exec.addPhysicObject(n+1,x+68,y-30,{type=3,width=20,height=20,dynamic=true,restitution=30.0,angle=70})
else
tfm.exec.addPhysicObject(n,x-57,y,{type=14,width=5,height=5,restitution=30.0,miceCollision=false})
tfm.exec.addPhysicObject(n+1,x-68,y-30,{type=3,width=20,height=20,dynamic=true,restitution=30.0,angle=-70})
end
tfm.exec.removePhysicObject(n-4)
end
end

Nossa, muito obrigada, mas alguem tem script de chao e lava?

The floor is lava, por Osicat

Obrigada!

OI VACAAAAAAAAAAAAAAAAAAAAA

quero um script que quando vc aperta alguma tecla sai nyan cat vuando

Code Lua

1
2
3
4
5
6
7
8
9
eventNewPlayer = function(n)
system.bindKeyboard(n, 32, true, true)
end
table.foreach(tfm.get.room.playerList, eventNewPlayer)

eventKeyboard = function(n, k, d, x, y)
local facingValue = tfm.get.room.playerList[n].isFacingRight and 1 or -1
tfm.exec.addShamanObject(109, x + (15 * facingValue), y - 5, 0, 30 * facingValue)
end

obrigada, mas qual desses codicos sao o nyan cat?

O primeiro 109 da linha 8. É a caixa pequena de Nyan Cat. Se não me engano, 209 é a caixa grande

Thank you Bolodefchoco ^^ mas tem como tbm mudar de coisa?tipo tirar o nyan cat e colocar uma barbie?(so um exemplo

Dernière modification le 1515971880000
Bolodefchoco
« Sénateur »
1515975060000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#486
  0
Lalalele356 a dit :
Bolodefchoco a dit :
Lalalele356 a dit :
Bolodefchoco a dit :
Lalalele356 a dit :
Mmeelloooo a dit :
Bolodefchoco a dit :
Mmeelloooo a dit :
Nettoork a dit :
Roxyrockster a dit :
um script que o rato cuspa um bloco de lava

Tentei fazer um ai pra você ... kkkkk

-- (Utilize a tecla [E] para tacar seu bloco de lava)

function eventNewPlayer(name)
system.bindKeyboard(name, 69, false)
end
for name in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end
n=1
function eventKeyboard(name,key,down,x,y)
if key == 69 then
n = n + 1
if tfm.get.room.playerList[name].isFacingRight then
tfm.exec.addPhysicObject(n,x+57,y,{type=14,width=5,height=5,restitution=30.0,miceCollision=false})
tfm.exec.addPhysicObject(n+1,x+68,y-30,{type=3,width=20,height=20,dynamic=true,restitution=30.0,angle=70})
else
tfm.exec.addPhysicObject(n,x-57,y,{type=14,width=5,height=5,restitution=30.0,miceCollision=false})
tfm.exec.addPhysicObject(n+1,x-68,y-30,{type=3,width=20,height=20,dynamic=true,restitution=30.0,angle=-70})
end
tfm.exec.removePhysicObject(n-4)
end
end

Nossa, muito obrigada, mas alguem tem script de chao e lava?

The floor is lava, por Osicat

Obrigada!

OI VACAAAAAAAAAAAAAAAAAAAAA

quero um script que quando vc aperta alguma tecla sai nyan cat vuando

Code Lua

1
2
3
4
5
6
7
8
9
eventNewPlayer = function(n)
system.bindKeyboard(n, 32, true, true)
end
table.foreach(tfm.get.room.playerList, eventNewPlayer)

eventKeyboard = function(n, k, d, x, y)
local facingValue = tfm.get.room.playerList[n].isFacingRight and 1 or -1
tfm.exec.addShamanObject(109, x + (15 * facingValue), y - 5, 0, 30 * facingValue)
end

obrigada, mas qual desses codicos sao o nyan cat?

O primeiro 109 da linha 8. É a caixa pequena de Nyan Cat. Se não me engano, 209 é a caixa grande

Thank you Bolodefchoco ^^ mas tem como tbm mudar de coisa?tipo tirar o nyan cat e colocar uma barbie?(so um exemplo

Até tem, mas imagens seriam necessárias e você não pode colocá-las, pois não faz parte da equipe Lua.
Você poderá atirar apenas objetos de shaman ^_^
+Geovanezikka
1515976200000
    • +Geovanezikka#0000
    • Profil
    • Derniers messages
    • Tribu
#487
[Modéré par Esh, raison : Spam]
Mashmellliiiiiw
1515979500000
    • Mashmellliiiiiw#7990
    • Profil
    • Derniers messages
    • Tribu
#488
[Modéré par Esh, raison : Quote de comentário moderado]
Laylalinhhhhhh
« Citoyen »
1516183800000
    • Laylalinhhhhhh#0632
    • Profil
    • Derniers messages
#489
  0
um script que quando aperta "9" aparece um nyan cat voando 10 a cada 9 apertado ;-; é o script do mestre mandou

Dernière modification le 1516184220000
Isayayaa
« Citoyen »
1516184100000
    • Isayayaa#3725
    • Profil
    • Derniers messages
    • Tribu
#490
  0
Modera isso, pls

Dernière modification le 1516185900000
Isayayaa
« Citoyen »
1516185720000
    • Isayayaa#3725
    • Profil
    • Derniers messages
    • Tribu
#491
  0
Eu queria também um quiz que a gente fala uma pergunta e se alguém falar no chat acerta, tem? e também eu quero com um mapa tipo esse olha: https://image.prntscr.com/image/VExEoVLsRaqEFbMrK0bRSA.png
depois eu e mais 2 staffs em cima e membras em cima, dá?
Isayayaa
« Citoyen »
1516185900000
    • Isayayaa#3725
    • Profil
    • Derniers messages
    • Tribu
#492
  0
se quiser o mapa, está aqui: @7363611
Bolodefchoco
« Sénateur »
1516193160000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#493
  0
Quemevc6 a dit :
um script que quando aperta "9" aparece um nyan cat voando 10 a cada 9 apertado ;-; é o script do mestre mandou

Não sei se entendi. Você quer que solte um Nyan Cat ao apertar o número 9 uma vez?!

Code Lua

1
2
3
4
5
6
7
8
9
10
eventNewPlayer = function(n)
system.bindKeyboard(n, 57, true, true)
system.bindKeyboard(n, 105, true, true)
end
table.foreach(tfm.get.room.playerList, eventNewPlayer)

eventKeyboard = function(n, k, d, x, y)
local facingValue = tfm.get.room.playerList[n].isFacingRight and 1 or -1
tfm.exec.addShamanObject(109, x + (15 * facingValue), y - 5, 0, 30 * facingValue)
end


Melinah3ar a dit :
Eu queria também um quiz que a gente fala uma pergunta e se alguém falar no chat acerta, tem? e também eu quero com um mapa tipo esse olha:
depois eu e mais 2 staffs em cima e membras em cima, dá?

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
local faz_pergunta = "Bolodefchoco" -- Nome de quem faz a pergunta
local staff = {"Bolodefchoco", "Squalleze"} -- "Nome", "Nome2", "Nome3", ... da staff
local current = {}

local started = false
eventNewGame = function()
started = true

-- Staff lá em cima
for k, v in next, staff do
tfm.exec.movePlayer(v, math.random(200, 600), 100)
end

-- Reseta a pontuação
for k,v in next, tfm.get.room.playerList do
tfm.exec.setPlayerScore(k, 0)
end

ui.addPopup(0, 2, "Ponha sua pergunta aqui embaixo:", faz_pergunta, 5, 150, 790, true)
end

eventPopupAnswer = function(i, n, a)
if #current == 0 then
current[1] = a
ui.addPopup(0, 2, "Ponha a resposta da pergunta " .. a .. " aqui embaixo:", faz_pergunta, 5, 150, 790, true)
else
current[2] = a:lower()
ui.addTextArea(0, "<font size='40'><p align='center'>" .. current[1]:upper(), nil, 5, 150, 790)
end
end

finalizar = function()
current = {}
ui.removeTextArea(0)
ui.addPopup(0, 2, "Ponha sua pergunta aqui embaixo:", faz_pergunta, 5, 150, 790, true)
end

eventChatMessage = function(n, c)
if started and #current > 0 then
if c:lower() == current[2] then
finalizar()
if n ~= faz_pergunta then
-- Quem acertar ganha 10 pontos
tfm.exec.setPlayerScore(n, 10, true)
ui.setShamanName("<V>" .. n .. " <N>acertou!")
end
end
end
end

eventChatCommand = function(n, c)
-- Digite !cancelar para cancelar a pergunta
if n == faz_pergunta and c == "cancelar" then
finalizar()
end
end

tfm.exec.disableAutoShaman()
tfm.exec.disableAutoNewGame()
tfm.exec.disableAutoScore()

tfm.exec.newGame(7363611)

Dernière modification le 1516197240000
Isayayaa
« Citoyen »
1516214580000
    • Isayayaa#3725
    • Profil
    • Derniers messages
    • Tribu
#494
  0
Bolodefchoco a dit :
Quemevc6 a dit :
um script que quando aperta "9" aparece um nyan cat voando 10 a cada 9 apertado ;-; é o script do mestre mandou

Não sei se entendi. Você quer que solte um Nyan Cat ao apertar o número 9 uma vez?!

Code Lua

1
2
3
4
5
6
7
8
9
10
eventNewPlayer = function(n)
system.bindKeyboard(n, 57, true, true)
system.bindKeyboard(n, 105, true, true)
end
table.foreach(tfm.get.room.playerList, eventNewPlayer)

eventKeyboard = function(n, k, d, x, y)
local facingValue = tfm.get.room.playerList[n].isFacingRight and 1 or -1
tfm.exec.addShamanObject(109, x + (15 * facingValue), y - 5, 0, 30 * facingValue)
end


Melinah3ar a dit :
Eu queria também um quiz que a gente fala uma pergunta e se alguém falar no chat acerta, tem? e também eu quero com um mapa tipo esse olha:
depois eu e mais 2 staffs em cima e membras em cima, dá?

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
local faz_pergunta = "Bolodefchoco" -- Nome de quem faz a pergunta
local staff = {"Bolodefchoco", "Squalleze"} -- "Nome", "Nome2", "Nome3", ... da staff
local current = {}

local started = false
eventNewGame = function()
started = true

-- Staff lá em cima
for k, v in next, staff do
tfm.exec.movePlayer(v, math.random(200, 600), 100)
end

-- Reseta a pontuação
for k,v in next, tfm.get.room.playerList do
tfm.exec.setPlayerScore(k, 0)
end

ui.addPopup(0, 2, "Ponha sua pergunta aqui embaixo:", faz_pergunta, 5, 150, 790, true)
end

eventPopupAnswer = function(i, n, a)
if #current == 0 then
current[1] = a
ui.addPopup(0, 2, "Ponha a resposta da pergunta " .. a .. " aqui embaixo:", faz_pergunta, 5, 150, 790, true)
else
current[2] = a:lower()
ui.addTextArea(0, "<font size='40'><p align='center'>" .. current[1]:upper(), nil, 5, 150, 790)
end
end

finalizar = function()
current = {}
ui.removeTextArea(0)
ui.addPopup(0, 2, "Ponha sua pergunta aqui embaixo:", faz_pergunta, 5, 150, 790, true)
end

eventChatMessage = function(n, c)
if started and #current > 0 then
if c:lower() == current[2] then
finalizar()
if n ~= faz_pergunta then
-- Quem acertar ganha 10 pontos
tfm.exec.setPlayerScore(n, 10, true)
ui.setShamanName("<V>" .. n .. " <N>acertou!")
end
end
end
end

eventChatCommand = function(n, c)
-- Digite !cancelar para cancelar a pergunta
if n == faz_pergunta and c == "cancelar" then
finalizar()
end
end

tfm.exec.disableAutoShaman()
tfm.exec.disableAutoNewGame()
tfm.exec.disableAutoScore()

tfm.exec.newGame(7363611)

Mt obrigada >D
Bloom
« Héliaste »
1516262640000
    • Bloom#6766
    • Profil
    • Derniers messages
#495
  0
Gostaria de um script que permitisse ver o XML do mapa que está rodando. Agradeço desde já.
Bolodefchoco
« Sénateur »
1516299720000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#496
  0
Erissinho a dit :
Gostaria de um script que permitisse ver o XML do mapa que está rodando. Agradeço desde já.

Code Lua

1
2
3
eventNewGame = function()
print(tostring((tfm.get.room.xmlMapInfo or {}).xml):gsub("<", "&lt;"))
end

Dernière modification le 1516304280000
Bloom
« Héliaste »
1516301940000
    • Bloom#6766
    • Profil
    • Derniers messages
#497
  0
Bolodefchoco a dit :
Erissinho a dit :
Gostaria de um script que permitisse ver o XML do mapa que está rodando. Agradeço desde já.

Code Lua

1
2
3
eventNewGame = function()
print(tostring(tfm.get.room.xmlMapInfo or {}).xml):gsub("<", "&lt;"))
end

Obrigado, vou testar agora.

@Edit: Onde é para aparecer o código? Acho que não está funcionando.

http://img.atelier801.com/5fa4f379.png


Dernière modification le 1516302120000
Bolodefchoco
« Sénateur »
1516304340000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#498
  0
Erissinho a dit :
Bolodefchoco a dit :
Erissinho a dit :
Gostaria de um script que permitisse ver o XML do mapa que está rodando. Agradeço desde já.

Code Lua

1
2
3
eventNewGame = function()
print(tostring(tfm.get.room.xmlMapInfo or {}).xml):gsub("<", "&lt;"))
end

Obrigado, vou testar agora.

@Edit: Onde é para aparecer o código? Acho que não está funcionando.

Ops, desculpe. Faltou um "(" ali no código. Pode copiar/colar ele novamente no /lua que irá funcionar. Basta carregar um mapa novo e olhar ai no #lua
Laylalinhhhhhh
« Citoyen »
1516304820000
    • Laylalinhhhhhh#0632
    • Profil
    • Derniers messages
#499
  0
eu, queria se for possivel o script do mestre mandou é um script que faz vc controla todo mundo da sala tipo mover eles todos.

Dernière modification le 1516305000000
Abctess
« Citoyen »
1516305060000
    • Abctess#0000
    • Profil
    • Derniers messages
#500
  0
Quemevc6 a dit :
eu, queria se for possivel o script do mestre mandou é um script tipo troll se existir tipo uma mensagem

to precisando tb..
Bolodefchoco a dit :
Erissinho a dit :
Bolodefchoco a dit :
Erissinho a dit :
Gostaria de um script que permitisse ver o XML do mapa que está rodando. Agradeço desde já.

Code Lua

1
2
3
eventNewGame = function()
print(tostring(tfm.get.room.xmlMapInfo or {}).xml):gsub("<", "&lt;"))
end

Obrigado, vou testar agora.

@Edit: Onde é para aparecer o código? Acho que não está funcionando.

Ops, desculpe. Faltou um "(" ali no código. Pode copiar/colar ele novamente no /lua que irá funcionar. Basta carregar um mapa novo e olhar ai no #lua

ainda n dar
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Seção Editor de Mapas e Modules
  • /
  • [Lua] Peça scripts aqui!
« ‹ 25 / 133 › »
© Atelier801 2018

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

Version 1.27