×

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
  • /
  • Hilos pasados
  • /
  • ¡Comparte tus códigos /lua!
« ‹ 11 / 19 › »
¡Comparte tus códigos /lua!
Williamsjuju
« Citoyen »
1382301900000
    • Williamsjuju#0000
    • Profil
    • Derniers messages
    • Tribu
#201
  0
Está genial :33
Azuli
« Citoyen »
1382478180000
    • Azuli#9482
    • Profil
    • Derniers messages
    • Tribu
#202
  0
players={}
i=0

mouseLeft=[[
<ROSE>&lt;'J~~~-_
/~ ~\ : , \
' ~ , |: :
{ /~~\ :--~""""\.: :
\ (... : /^\ /^\\ ;
~\_____ | | | |:~
/ |__O|_|O|;
( / O \
\ ( `\_______/)
`\ \ /
) ~-------~'\
/ \
: ||
| | ||
| |.======[]==+'|
(~~~~) | |~)
/ \ | | \
~\ \___/)______/^\__|_/
`\\ // | | | |
`\\__//' | | | |
~~ (~~~~) (~~~)
/ =\..' =_
|__________)________)
]]
mouseRight=[[
<ROSE>---~~~-_
/~ ~\ : , \
' ~ , |: :
{ /~~\ :--~""""\.: :
\ (... : /^\ /^\\ ;
~\_____ | | | |:~
/ |__O|_|O|;
( / O \
\ ( `\_______/)
`\ \ /
) ~-------~'\
/ \
: ||
| | ||
| |.======[]==+'|
(~~~~) | |~)
/ \ | | \
~\ \___/)______/^\__|_/
`\\ // | | | |
`\\__//' | | | |
~~ (~~~~) (~~~)
/ =\..' =_
|__________)________)
]]

function eventNewGame()
tfm.exec.setUIShamanName("<CH>Script By: <BV>Issey")
tfm.exec.setUIMapName("<VP>Tribu Platinium Pros")
end

function eventNewPlayer(name)
players[name]={
x=tfm.get.room.playerList[name].x,
y=tfm.get.room.playerList[name].y,
id=i
}
print(players[name].x)
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
else
mouse=mouseLeft
end
ui.addTextArea(players[name].id,mouse,nil,players[name].x,players[name].y,0,0,0xffffff,0xffffff,0.0)
i=i+1
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end

function eventLoop(tc,tr)
for name,player in pairs(tfm.get.room.playerList) do
if not tfm.get.room.playerList[name].isDead then
local x= tfm.get.room.playerList[name].x
local y= tfm.get.room.playerList[name].y
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
x=x+20
else
mouse=mouseLeft
x=x-20
end
y=y-10
if(x~=players[name].x) or (y~=players[name].y) then
ui.addTextArea(players[name].id,mouse,nil,x,y,0,0,0xffffff,0xffffff,0.0)
end
end
end
end
Mickey Mause te persigue [Mejorado AHORA COLOR ROsa]
Catroosdos
« Citoyen »
1382480460000
    • Catroosdos#0000
    • Profil
    • Derniers messages
    • Tribu
#203
  0
players={}
i=0

mouseLeft=[[
<VP>'J~~~-_
/~ ~\ : , \
' ~ , |: :
{ /~~\ :--~""""\.: :
\ (... : /^\ /^\\ ;
~\_____ | | | |:~
/ |__O|_|O|;
( / O \
\ ( `\_______/)
`\ \ /
) ~-------~'\
/ \
: ||
| | ||
| |.======[]==+'|
(~~~~) | |~)
/ \ | | \
~\ \___/)______/^\__|_/
`\\ // | | | |
`\\__//' | | | |
~~ (~~~~) (~~~)
/ =\..' =_
|__________)________)
]]
mouseRight=[[
<VP>~~-_
/~ ~\ : , \
' ~ , |: :
{ /~~\ :--~""""\.: :
\ (... : /^\ /^\\ ;
~\_____ | | | |:~
/ |__O|_|O|;
( / O \
\ ( `\_______/)
`\ \ /
) ~-------~'\
/ \
: ||
| | ||
| |.======[]==+'|
(~~~~) | |~)
/ \ | | \
~\ \___/)______/^\__|_/
`\\ // | | | |
`\\__//' | | | |
~~ (~~~~) (~~~)
/ =\..' =_
|__________)________)
]]

function eventNewGame()
tfm.exec.setUIShamanName("<CH>Script By: <BV>Issey")
tfm.exec.setUIMapName("<VP>Tribu Platinium Pros")
end

function eventNewPlayer(name)
players[name]={
x=tfm.get.room.playerList[name].x,
y=tfm.get.room.playerList[name].y,
id=i
}
print(players[name].x)
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
else
mouse=mouseLeft
end
ui.addTextArea(players[name].id,mouse,nil,players[name].x,players[name].y,0,0,0xffffff,0xffffff,0.0)
i=i+1
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end

function eventLoop(tc,tr)
for name,player in pairs(tfm.get.room.playerList) do
if not tfm.get.room.playerList[name].isDead then
local x= tfm.get.room.playerList[name].x
local y= tfm.get.room.playerList[name].y
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
x=x+20
else
mouse=mouseLeft
x=x-20
end
y=y-10
if(x~=players[name].x) or (y~=players[name].y) then
ui.addTextArea(players[name].id,mouse,nil,x,y,0,0,0xffffff,0xffffff,0.0)
end
end
end
end


En verde
Rigbylua
« Citoyen »
1382540400000
    • Rigbylua#0000
    • Profil
    • Derniers messages
    • Tribu
#204
  0
Nyan cat siguiendote a dit :
players={}
i=0

mouseLeft=[[
____━━____┓━╭━━━━━━━━━━━╮
____━━____┗┓|:::::: /^━━━━^\
____━━____━┗|:::::: |。◕‿‿◕。|
____━━____━━|:::::: \_____/
____━━____━━╰O--O--O--O╯
]]
mouseRight=[[
____━━____┓━╭━━━━━━━━━━━╮
____━━____┗┓|:::::: /^━━━━^\
____━━____━┗|:::::: |。◕‿‿◕。|
____━━____━━|:::::: \_____/
____━━____━━╰O--O--O--O╯
]]

function eventNewGame()
tfm.exec.setUIShamanName("&lt;CH&gt;Script By: &lt;BV&gt;Issey")
tfm.exec.setUIMapName("&lt;VP&gt;Tribu Platinium Pros")
end

function eventNewPlayer(name)
players[name]={
x=tfm.get.room.playerList[name].x,
y=tfm.get.room.playerList[name].y,
id=i
}
print(players[name].x)
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
else
mouse=mouseLeft
end
ui.addTextArea(players[name].id,mouse,nil,players[name].x,players[name].y,0,0,0xffffff,0xffffff,0.0)
i=i+1
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end

function eventLoop(tc,tr)
for name,player in pairs(tfm.get.room.playerList) do
if not tfm.get.room.playerList[name].isDead then
local x= tfm.get.room.playerList[name].x
local y= tfm.get.room.playerList[name].y
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
x=x+20
else
mouse=mouseLeft
x=x-20
end
y=y-10
if(x~=players[name].x) or (y~=players[name].y) then
ui.addTextArea(players[name].id,mouse,nil,x,y,0,0,0xffffff,0xffffff,0.0)
end
end
end
end

En vez de eso, un nyan cat
Mei
« Citoyen »
1382558820000
    • Mei#3081
    • Profil
    • Derniers messages
    • Tribu
#205
  0
Arregla los &lt; ^
Agustinsupre
« Citoyen »
1382818560000
    • Agustinsupre#0000
    • Profil
    • Derniers messages
    • Tribu
#206
  0
Rigbylua a dit :
En vez de eso, un nyan cat

mira te lo mejore xd
players={}
i=0

mouseLeft=[[
____━━____┓━╭━━━━━━━━━━━╮
____━━____┗┓|:::::::::::::::::/^━━^\
____━━____━┗|:::::::::::::::: |。◕‿‿◕。|
____━━____━━|:::::::::::::::::\_____/
____━━____━━╰━━━━━━━━━━━╯
]]
mouseRight=[[
____━━____┓━╭━━━━━━━━━━━╮
____━━____┗┓|::::::::::::::::/^━━^\
____━━____━┗|::::::::::::::::|。◕‿‿◕。|
____━━____━━|::::::::::::::::\_____/
____━━____━━╰━━━━━━━━━━━╯
]]

function eventNewGame()
tfm.exec.setUIShamanName("Fantasma")
tfm.exec.setUIMapName(":D xD")
end

function eventNewPlayer(name)
players[name]={
x=tfm.get.room.playerList[name].x,
y=tfm.get.room.playerList[name].y,
id=i
}
print(players[name].x)
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
else
mouse=mouseLeft
end
ui.addTextArea(players[name].id,mouse,nil,players[name].x,players[name].y,0,0,0xffffff,0xffffff,0.0)
i=i+1
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end

function eventLoop(tc,tr)
for name,player in pairs(tfm.get.room.playerList) do
if not tfm.get.room.playerList[name].isDead then
local x= tfm.get.room.playerList[name].x
local y= tfm.get.room.playerList[name].y
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
x=x+-160
else
mouse=mouseLeft
x=x-160
end
y=y-45
if(x~=players[name].x) or (y~=players[name].y) then
ui.addTextArea(players[name].id,mouse,nil,x,y,0,0,0x000000,0x000000,0.0)
end
end
end
end
Matiassl
« Citoyen »
1382837220000
    • Matiassl#0000
    • Profil
    • Derniers messages
    • Tribu
#207
  0
Mejorado xd:
players={}
i=0

mouseLeft=[[
*-* TE PERSIGOOO
]]
mouseRight=[[
*-* TE PERSIGOOO
]]

function eventNewGame()
tfm.exec.setUIShamanName("<CH>Script By: <BV>Issey")
tfm.exec.setUIMapName("<VP>Tribu Platinium Pros")
end

function eventNewPlayer(name)
players[name]={
x=tfm.get.room.playerList[name].x,
y=tfm.get.room.playerList[name].y,
id=i
}
print(players[name].x)
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
else
mouse=mouseLeft
end
ui.addTextArea(players[name].id,mouse,nil,players[name].x,players[name].y,0,0,0xffffff,0xffffff,0.0)
i=i+1
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end

function eventLoop(tc,tr)
for name,player in pairs(tfm.get.room.playerList) do
if not tfm.get.room.playerList[name].isDead then
local x= tfm.get.room.playerList[name].x
local y= tfm.get.room.playerList[name].y
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
x=x+20
else
mouse=mouseLeft
x=x-20
end
y=y-10
if(x~=players[name].x) or (y~=players[name].y) then
ui.addTextArea(players[name].id,mouse,nil,x,y,0,0,0xffffff,0xffffff,0.0)
end
end
end
end
Mawaktoii
« Citoyen »
1382878800000
    • Mawaktoii#7912
    • Profil
    • Derniers messages
#208
  0
alguien me dice que es lua y eso .___.
Zutto
« Citoyen »
1382884080000
    • Zutto#4451
    • Profil
    • Derniers messages
    • Tribu
#209
  0
Gatulucas a dit :
alguien me dice que es lua y eso .___.

Topic-462965
Casuques
« Citoyen »
1382887260000
    • Casuques#0000
    • Profil
    • Derniers messages
#210
  0
function eventChatCommand (name, command)
if command == "morir" then
tfm.exec.killPlayer (name);

elseif command == "queso" then
tfm.exec.giveCheese (name);

elseif command == "shaman" then
tfm.exec.setShaman (name);

else
print ("Comando inválido");

end
end
players={}
i=0

mouseLeft=[[
<VP>'J~~~-_
/~ ~\ : , \
' ~ , |: :
{ /~~\ :--~""""\.: :
\ (... : /^\ /^\\ ;
~\_____ | | | |:~
/ |__O|_|O|;
( / O \
\ ( `\_______/)
`\ \ /
) ~-------~'\
/ \
: ||
| | ||
| |.======[]==+'|
(~~~~) | |~)
/ \ | | \
~\ \___/)______/^\__|_/
`\\ // | | | |
`\\__//' | | | |
~~ (~~~~) (~~~)
/ =\..' =_
|__________)________)
]]
mouseRight=[[
<VP>~~-_
/~ ~\ : , \
' ~ , |: :
{ /~~\ :--~""""\.: :
\ (... : /^\ /^\\ ;
~\_____ | | | |:~
/ |__O|_|O|;
( / O \
\ ( `\_______/)
`\ \ /
) ~-------~'\
/ \
: ||
| | ||
| |.======[]==+'|
(~~~~) | |~)
/ \ | | \
~\ \___/)______/^\__|_/
`\\ // | | | |
`\\__//' | | | |
~~ (~~~~) (~~~)
/ =\..' =_
|__________)________)
]]

function eventNewGame()
tfm.exec.setUIShamanName("<CH><rose>By:Holizxdd & Casuques")
tfm.exec.setUIMapName("<VP>Module - @0")
end

function eventNewPlayer(name)
players[name]={
x=tfm.get.room.playerList[name].x,
y=tfm.get.room.playerList[name].y,
id=i
}
print(players[name].x)
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
else
mouse=mouseLeft
end
ui.addTextArea(players[name].id,mouse,nil,players[name].x,players[name].y,0,0,0xffffff,0xffffff,0.0)
i=i+1
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end

function eventLoop(tc,tr)
for name,player in pairs(tfm.get.room.playerList) do
if not tfm.get.room.playerList[name].isDead then
local x= tfm.get.room.playerList[name].x
local y= tfm.get.room.playerList[name].y
if(tfm.get.room.playerList[name].isFacingRight) then
mouse=mouseRight
x=x+20
else
mouse=mouseLeft
x=x-20
end
y=y-10
if(x~=players[name].x) or (y~=players[name].y) then
ui.addTextArea(players[name].id,mouse,nil,x,y,0,0,0xffffff,0xffffff,0.0)
end
end
end
end


!queso = Obtienes queso
!morir = Mueres
!shaman = Eres Chaman
Sinselosita
« Citoyen »
1382894460000
    • Sinselosita#0000
    • Profil
    • Derniers messages
    • Tribu
#211
  0
a mi no me sirve el lua
Mipmippp
« Citoyen »
1382989680000
    • Mipmippp#0000
    • Profil
    • Derniers messages
#212
  0
Sinselosita a dit :
a mi no me sirve el lua

a mi tampoco
Hfaundez
« Citoyen »
1383052500000
    • Hfaundez#0000
    • Profil
    • Derniers messages
    • Tribu
#213
  0
Nesesito saber cual es el sript para poner comandos solo para Administradores como ejemplo : Meep
Respondan gracias.
Haku
« Sénateur »
1383053280000
    • Haku#0807
    • Profil
    • Derniers messages
#214
  0
Hfaundez a dit :
Nesesito saber cual es el sript para poner comandos solo para Administradores como ejemplo : Meep
Respondan gracias.

Topic-462965
Topic-485026

Preguntas en el primer hilo.
Pedir scripts hechos en el segundo, además ahí hay un ejemplo con lo que estás preguntando (Comando para admin)
Azuli
« Citoyen »
1383444480000
    • Azuli#9482
    • Profil
    • Derniers messages
    • Tribu
#215
  0
He creado uno que puedes volar agachandote:
Volar Agachandote. Por Azulisocpp
Isaacmanda
« Citoyen »
1383446100000
    • Isaacmanda#0000
    • Profil
    • Derniers messages
    • Tribu
#216
  0
Azulisocpp a dit :
He creado uno que puedes volar agachandote:
Volar Agachandote. Por Azulisocpp

ya existia y plz no te lleves los creditos y almenos di quien es el creador.
Thetroz
« Citoyen »
1383448320000
    • Thetroz#0000
    • Profil
    • Derniers messages
    • Tribu
#217
  0
He sacado de varios scripts para crear un "texto de ayuda"

¿Quieres más páginas?

Si quieres puedes tener 5 o más páginas:
Debes editar el "página X" que está en el script para poner el texto

a dit :
help={
"Página 1.",
"Página 2",
"Página 3",
"Página 4",
"Página 5",
}

Aquí un ejemplo de un texto de ayuda:

a dit :
help={
"Bienvenido a éste minigame, vé a la página 2 para ver más información",
"¿Cómo lo juego? Debes agacharte y bla bla bla sigue a la página 3 para ver los comandos",
"Comandos: !mort mueres !queso te da queso bla bla Sigue a la página 4",
"ola",
"Que disfrutes el minigame",
}

-
Script aquí
Hfaundez
« Citoyen »
1384287720000
    • Hfaundez#0000
    • Profil
    • Derniers messages
    • Tribu
#218
  0
Como es el script para que el chaman no tenga habilidades?
Thetroz
« Citoyen »
1384290300000
    • Thetroz#0000
    • Profil
    • Derniers messages
    • Tribu
#219
  0
Hfaundez a dit :
Como es el script para que el chaman no tenga habilidades?

function startNewGame()
tfm.exec.disableAllShamanSkills(true)
end

Además te equivocaste de hilo.
Hfaundez
« Citoyen »
1384543440000
    • Hfaundez#0000
    • Profil
    • Derniers messages
    • Tribu
#220
  0
Isaacmanda a dit :
no se si funcione sin rango no lo he probado sin rango pero ojala y te sirva!

solo pones !map @code



Y para que sea para admins?
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Hilos pasados
  • /
  • ¡Comparte tus códigos /lua!
« ‹ 11 / 19 › »
© Atelier801 2018

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

Version 1.27