×

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
  • /
  • Guia Module + Tópico de Dúvidas
« ‹ 36 / 55 › »
Guia Module + Tópico de Dúvidas
Zzzluanazzzz
« Citoyen »
1388192220000
    • Zzzluanazzzz#0000
    • Profil
    • Derniers messages
#701
  0
Zzzluanazzzz a dit :
Como faço para colocar senha na sala? /pw? Não estou conseguindo :/

Brenower a dit :
Tópico errado

Qual topico devo usar então? isso é meio confuso :S
Chocodivo
« Consul »
1388192640000
    • Chocodivo#0000
    • Profil
    • Derniers messages
    • Tribu
#702
  0
Retirado.
Brenower
« Censeur »
1388193780000
    • Brenower#0000
    • Profil
    • Derniers messages
    • Tribu
#703
  0
Zzzluanazzzz a dit :
Qual topico devo usar então? isso é meio confuso :S

Em outra seção.
Chocodivo
« Consul »
1388197620000
    • Chocodivo#0000
    • Profil
    • Derniers messages
    • Tribu
#704
  0
Onde eu coloco particula nesse script?:

a dit :
admins = {"Chocodivo"}
function eventChatCommand(player, cm)
for i,v in pairs(admins) do
if player == v then
if cm == "teleport" then
system.bindMouse(player, true)
end
end
end
end

^
Mumich
« Citoyen »
1388199780000
    • Mumich#6666
    • Profil
    • Derniers messages
    • Tribu
#705
  0
Chocodivo a dit :
Onde eu coloco particula nesse script?:


^

c sabe q o script ta incompleto né? vou dar uma incorporada

a dit :

validate={}
particleId=1

function r()
t={}
for i=-0.1,0.1,0.01 do
table.insert(t,i)
end
return t[math.random(#t)]
end

admins = {"Chocodivo"}
function eventChatCommand(player, cm)
for i,v in pairs(admins) do
if player == v then
if cm == "teleport" then
system.bindMouse(player, true)
validate[player]=true
end
end
end
end

function eventMouse(player, x, y)
if validate[player] then
tfm.exec.movePlayer(player,x,y,false,0,0,false)
for i=1,30 do
tfm.exec.displayParticle(particleId,x,y,0,0,r(),r())
end
validate[player]=false
end
end

mude o particleId pra que você quiser
Chocodivo
« Consul »
1388200320000
    • Chocodivo#0000
    • Profil
    • Derniers messages
    • Tribu
#706
  0
Tuliomumic a dit :
c sabe q o script ta incompleto né? vou dar uma incorporada
mude o particleId pra que você quiser

Só uma coisinha, quando eu teleporto, aparece umonte da particula e para de funcionar, eu tenho q colocar a particula que eu quero aki né?:
a dit :
tfm.exec.displayParticle(particleId,x,y,0,0,r(),r())

Começei a mecher faz pouco tempo e só manjo dos popups kk >.<'
Mumich
« Citoyen »
1388205420000
    • Mumich#6666
    • Profil
    • Derniers messages
    • Tribu
#707
  0
Chocodivo a dit :
Só uma coisinha, quando eu teleporto, aparece umonte da particula e para de funcionar, eu tenho q colocar a particula que eu quero aki né?:


Começei a mecher faz pouco tempo e só manjo dos popups kk &gt;.&lt;'

nessa versão tem que digitar !teleport toda vez que você quiser teleportar, vou fazer uma que tem teleport off e teleport on:

a dit :
validate={}
particleId=1

function r()
t={}
for i=-0.1,0.1,0.01 do
table.insert(t,i)
end
return t[math.random(#t)]
end

admins = {"Chocodivo"}
function eventChatCommand(player, cm)
q={}
for w in cm:gmatch("%S+") do
table.insert(q,w)
end
for i,v in pairs(admins) do
if player == v then
if q[1] == "teleport" then
if q[2]=="on" then
system.bindMouse(player, true)
validate[player]=true
elseif q[2]=="off" then
validate[player]=false
end
end
end
end
end

function eventMouse(player, x, y)
if validate[player] then
tfm.exec.movePlayer(player,x,y,false,0,0,false)
for i=1,30 do
tfm.exec.displayParticle(particleId,x,y,0,0,r(),r())
end
end
end

!teleport on liga ele
!teleport off desliga
Chocodivo
« Consul »
1388207700000
    • Chocodivo#0000
    • Profil
    • Derniers messages
    • Tribu
#708
  0
Tuliomumic a dit :
nessa versão tem que digitar !teleport toda vez que você quiser teleportar, vou fazer uma que tem teleport off e teleport on:
!teleport on liga ele
!teleport off desliga

Obg senhor pr0 :3
Llukinhaxs
« Citoyen »
1388247780000
    • Llukinhaxs#0000
    • Profil
    • Derniers messages
    • Tribu
#709
  0
é assim q se escreve *#playgroud
Luigippp
« Citoyen »
1388249820000
    • Luigippp#0000
    • Profil
    • Derniers messages
#710
  0
Gente onde é que vocês aprendem tanto Lua sem ser nos fórums do Transformice?
Squalleze
« Citoyen »
1388262900000
    • Squalleze#0000
    • Profil
    • Derniers messages
    • Tribu
#711
  0
Por que o
a dit :
print(os.date([[%S:%M]]))

não executa apenas o valor interno? :c
Esh
« Censeur »
1388262900000
    • Esh#0095
    • Profil
    • Derniers messages
    • Tribu
#712
  0
Squalleze a dit :
Por que o

não executa apenas o valor interno? :c

Porquê suas condições foram bloqueadas pelo lindo tigrounette ...
Byenamo
« Citoyen »
1388263680000
    • Byenamo#0000
    • Profil
    • Derniers messages
    • Tribu
#713
  0
onde ta o erro:
fo player in pairs(tfm.get.room.playerList) do
tfm.exec.giveMeep(player)
end
+Thogabriel
« Citoyen »
1388263800000
    • +Thogabriel#0000
    • Profil
    • Derniers messages
    • Tribu
#714
  0
Byenamo a dit :
onde ta o erro:
fo player in pairs(tfm.get.room.playerList) do
tfm.exec.giveMeep(player)
end

fo?

o certo é for

Nub↓
Brenower
« Censeur »
1388263800000
    • Brenower#0000
    • Profil
    • Derniers messages
    • Tribu
#715
  0
Byenamo a dit :
onde ta o erro:
fo player in pairs(tfm.get.room.playerList) do
tfm.exec.giveMeep(player)
end

em "fo"

Zilado ^
Byenamo
« Citoyen »
1388263920000
    • Byenamo#0000
    • Profil
    • Derniers messages
    • Tribu
#716
  0
onde ta o erro :c


function bind(btype, keynum)
if (btype == [[all]]) then
for str,num in pairs(tfm.get.room.playerList) do
tfm.exec.bindKeyboard(str, keynum, true, true)
end
elseif (btype ~= [[all]]) then
tfm.exec.bindKeyboard(btype, keynum, true, true)
end
end

bind([[all]], 32);
bind([[all]], 9);

function eventKeyboard(target, key, hold, x, y)
if (key == 32) then
tfm.exec.movePlayer(target, nil, nil, true, 0, -30, true)
end
if (key == 9) then
tfm.exec.movePlayer(name,0,0,true,0,-50,false)
tfm.exec.displayParticle(39, x, y, 0, 0, 0, 0, nil)
end
end
Brenower
« Censeur »
1388265600000
    • Brenower#0000
    • Profil
    • Derniers messages
    • Tribu
#717
  0
Byenamo a dit :
onde ta o erro :c


function bind(btype, keynum)
if (btype == [[all]]) then
for str,num in pairs(tfm.get.room.playerList) do
tfm.exec.bindKeyboard(str, keynum, true, true)
end
elseif (btype ~= [[all]]) then
tfm.exec.bindKeyboard(btype, keynum, true, true)
end
end

bind([[all]], 32);
bind([[all]], 9);

function eventKeyboard(target, key, hold, x, y)
if (key == 32) then
tfm.exec.movePlayer(target, nil, nil, true, 0, -30, true)
end
if (key == 9) then
tfm.exec.movePlayer(name,0,0,true,0,-50,false)
tfm.exec.displayParticle(39, x, y, 0, 0, 0, 0, nil)
end
end

tfm.exec.movePlayer(name,0,0,true,0,-50,false)

Troca name por target
Byenamo
« Citoyen »
1388265720000
    • Byenamo#0000
    • Profil
    • Derniers messages
    • Tribu
#718
  0
Brenower a dit :
tfm.exec.movePlayer(name,0,0,true,0,-50,false)

Troca name por target

mais a Particle não aparese
+Thogabriel
« Citoyen »
1388265960000
    • +Thogabriel#0000
    • Profil
    • Derniers messages
    • Tribu
#719
  0
Byenamo a dit :
mais a Particle não aparese

Topic-528310

troca o numero da praticle
Byenamo
« Citoyen »
1388265960000
    • Byenamo#0000
    • Profil
    • Derniers messages
    • Tribu
#720
  0
+Thogabriel a dit :
Topic-528310

troca o numero da praticle

eu queiro que tenha 2 tipos de fly
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Seção Editor de Mapas e Modules
  • /
  • Guia Module + Tópico de Dúvidas
« ‹ 36 / 55 › »
© Atelier801 2018

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

Version 1.27