×

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
  • /
  • Modules
  • /
  • Lua Kodları Tartışma & Yardımlaşma Başlığı
« ‹ 211 / 388 › »
Lua Kodları Tartışma & Yardımlaşma Başlığı
Dinorai
1401962100000
    • Dinorai#0000
    • Profil
    • Derniers messages
#4201
[Modéré par Mellefromage]
Oyga
« Citoyen »
1401962340000
    • Oyga#0000
    • Profil
    • Derniers messages
    • Tribu
#4202
  0
t=os.time()

for n in pairs(tfm.get.room.playerList) do
tfm.exec.bindKeyboard(n, 40, true, true)
end

function eventKeyboard(name, key, down,x,y)
if key==40 then
if not tfm.get.room.playerList[name].isVampire then
if tfm.get.room.playerList[name].isFacingRight then
o=tfm.exec.addShamanObject(35,x+7,y,0,24)
else
o=tfm.exec.addShamanObject(35,x-7,y,180,-24)
end
end
end
end

function eventLoop()
if t then
if os.time()-t>4700 then
tfm.exec.removeObject(o)
t=os.time()
end
end
end
Dinorai
« Citoyen »
1401963360000
    • Dinorai#0000
    • Profil
    • Derniers messages
#4203
  0
Oyga a dit :
t=os.time()

for n in pairs(tfm.get.room.playerList) do
tfm.exec.bindKeyboard(n, 40, true, true)
end

function eventKeyboard(name, key, down,x,y)
if key==40 then
if not tfm.get.room.playerList[name].isVampire then
if tfm.get.room.playerList[name].isFacingRight then
o=tfm.exec.addShamanObject(35,x+7,y,0,24)
else
o=tfm.exec.addShamanObject(35,x-7,y,180,-24)
end
end
end
end

function eventLoop()
if t then
if os.time()-t>4700 then
tfm.exec.removeObject(o)
t=os.time()
end
end
end

saol *-*

edit:Doğru çalışıyoda görevini yerine getirmiyo 4 saniye sonra yokolmıyor
Oyga
« Citoyen »
1401965280000
    • Oyga#0000
    • Profil
    • Derniers messages
    • Tribu
#4204
  0
Dinorai a dit :


saol *-*

edit:Doğru çalışıyoda görevini yerine getirmiyo 4 saniye sonra yokolmıyor

4 saniye 700 salise.

Ayrıca evet, bu sadece en son oluşturulan oku yok eder. Ben sadece hatayı düzelttim.
Dinorai
« Citoyen »
1401967320000
    • Dinorai#0000
    • Profil
    • Derniers messages
#4205
  0
Oyga a dit :

4 saniye 700 salise.

Ayrıca evet, bu sadece en son oluşturulan oku yok eder. Ben sadece hatayı düzelttim.

:( tmm en son oluşturulanda eyokolmuyo işte -_-
Noktats
« Citoyen »
1401967980000
    • Noktats#0000
    • Profil
    • Derniers messages
#4206
  0
a dit :

ui.addTextArea(0,"<p align='center'><a href='event:help'><b><R>?</b></a></p>",name,775,383,16,16,1,1,0.8,true)

function eventTextAreaCallback(id, name, callback)
if callback=="help" then
ui.addTextArea(999,"<R><font size='20' face='Comic Sans MS'><p align='center'><B>Maplist</B></font></p><font size='13' face='Comic Sans MS'><p align='center'><J>1-)<VP>@5087713\n<J>2-)<VP>@5087721\n<J>3-)<VP>@5087727\n<J>4-)<VP>@5088350\n<J>5-)<VP>@5088365\n<J>6-)<VP>@5088408\n<J>7-)<VP>@5088487",name, 30, 50, 100, 175, 1, 1, 1.1)
ui.addTextArea(779,"<p align='center'><a href='event:close'><b><R>Kapat</b></a></p>",name,30,240,100,16,1,1,1,true)
elseif callback=="close" then
ui.removeTextArea(999,name)
ui.removeTextArea(779,name)
end
end

Bunu nasıl klavyeden açarım?
(ben nokta değil bilmiyorum :()
Enesxfbxpro
« Censeur »
1401969120000
    • Enesxfbxpro#0000
    • Profil
    • Derniers messages
    • Tribu
#4207
  0
Bu helpe nasıl kapat butonu eklicem ?

i=1
color=0x3C5064

ui.addTextArea(0,"&amp;lt;a href='event:close'&amp;gt;close")

function eventTextAreaCallback(id,n,cb)
if cb=="close" then
ui.removeTextArea(0,n)
end
end
content={}
content[1]=[[&amp;lt;B&amp;gt;Hello!&amp;lt;B&amp;gt;]]
content[2]=[[Content of page 2]]
arrowRight=[[&amp;lt;a href="event:next"&amp;gt;&amp;gt;&amp;gt;&amp;lt;/a&amp;gt;]]
arrowLeft=[[&amp;lt;a href="event:previous"&amp;gt;&amp;amp;lt;&amp;amp;lt;&amp;lt;/a&amp;gt;]]

ui.addTextArea(1,content[1],nil,nil,nil,200,300,color,color)
ui.addTextArea(1001,arrowRight,nil,270,333,nil,nil,color,color)

function eventTextAreaCallback(id,name,cb)
if(cb=='next')then
i=i+1
ui.updateTextArea(1,content,name,nil,nil,200,300,color,color)
ui.addTextArea(1002,arrowLeft,name,10,333,nil,nil,color,color)
c=i+1
if(content[c]==nil) then
ui.removeTextArea(1001,name)
end
else if(cb=='previous') then
i=i-1
ui.updateTextArea(1,content,name,nil,nil,200,300,color,color)
ui.addTextArea(1001,arrowRight,name,270,333,nil,nil,color,color)
c=i-1
if(content[c]==nil) then
ui.removeTextArea(1002,name)



end
end
end
end
Oyga
« Citoyen »
1401970260000
    • Oyga#0000
    • Profil
    • Derniers messages
    • Tribu
#4208
  1
Kodu çalıyorsunuz anlıyorumda...
Çalıntı koda "çalmayın" demek nedir?
Enesxfbxpro
« Censeur »
1401970560000
    • Enesxfbxpro#0000
    • Profil
    • Derniers messages
    • Tribu
#4209
  0
Oyga a dit :
Kodu çalıyorsunuz anlıyorumda...
Çalıntı koda "çalmayın" demek nedir?

Arkadaşım istiyo
Oyga
« Citoyen »
1401970800000
    • Oyga#0000
    • Profil
    • Derniers messages
    • Tribu
#4210
  0
Benim verdiğim kapat butonunu direkt kopyala-yapıştır yapmışsınız. Bu yüzden olmamış. Bence kodları inceleyin, kendiniz öğrenin, kendiniz yapın, en basit şeyleri bizden istemeyin.
Dinorai
« Citoyen »
1401972180000
    • Dinorai#0000
    • Profil
    • Derniers messages
#4211
  0
Oyga a dit :
Benim verdiğim kapat butonunu direkt kopyala-yapıştır yapmışsınız. Bu yüzden olmamış. Bence kodları inceleyin, kendiniz öğrenin, kendiniz yapın, en basit şeyleri bizden istemeyin.

oyga olmuyoo
Erkutryder
« Citoyen »
1401974520000
    • Erkutryder#0000
    • Profil
    • Derniers messages
#4212
  0
Dinorai a dit :


oyga olmuyoo

ui.addTextArea(1,"<a href='event:help'>Help",name,760,360,30,name)
function eventTextAreaCallback(id,n,cb)
if cb=="help" then
ui.addTextArea(2,"yazı",name,285,50,250,275)
ui.addTextArea(3,"<a href='event:close'>X</a>",name,520,315,15,name)

elseif cb=="close" then
ui.removeTextArea(2,name)
ui.removeTextArea(3,name)
end
end
Ahatsu
« Citoyen »
1401975120000
    • Ahatsu#0000
    • Profil
    • Derniers messages
#4213
  0
YAA
böle a dit :



böle
end

ve pembe yazı yazma kodu neydi ? yada beyaz şekilde öle yazma ?
Dinorai
« Citoyen »
1401975240000
    • Dinorai#0000
    • Profil
    • Derniers messages
#4214
  0
Erkutryder a dit :



ui.addTextArea(1,"&lt;a href='event:help'&gt;Help",name,760,360,30,name)
function eventTextAreaCallback(id,n,cb)
if cb=="help" then
ui.addTextArea(2,"yazı",name,285,50,250,275)
ui.addTextArea(3,"&lt;a href='event:close'&gt;X&lt;/a&gt;",name,520,315,15,name)

elseif cb=="close" then
ui.removeTextArea(2,name)
ui.removeTextArea(3,name)
end
end

o diil

Oyga a dit :
t=os.time()

for n in pairs(tfm.get.room.playerList) do
tfm.exec.bindKeyboard(n, 40, true, true)
end

function eventKeyboard(name, key, down,x,y)
if key==40 then
if not tfm.get.room.playerList[name].isVampire then
if tfm.get.room.playerList[name].isFacingRight then
o=tfm.exec.addShamanObject(35,x+7,y,0,24)
else
o=tfm.exec.addShamanObject(35,x-7,y,180,-24)
end
end
end
end

function eventLoop()
if t then
if os.time()-t&gt;4700 then
tfm.exec.removeObject(o)
t=os.time()
end
end
end

bu
Noktats
« Citoyen »
1401975540000
    • Noktats#0000
    • Profil
    • Derniers messages
#4215
  0
a dit :


ui.addTextArea(0,"<p align='center'><a href='event:help'><b><R>?</b></a></p>",name,775,383,16,16,1,1,0.8,true)

function eventTextAreaCallback(id, name, callback)
if callback=="help" then
ui.addTextArea(999,"<R><font size='20' face='Comic Sans MS'><p align='center'><B>Maplist</B></font></p><font size='13' face='Comic Sans MS'><p align='center'><J>1-)<VP>@5087713\n<J>2-)<VP>@5087721\n<J>3-)<VP>@5087727\n<J>4-)<VP>@5088350\n<J>5-)<VP>@5088365\n<J>6-)<VP>@5088408\n<J>7-)<VP>@5088487",name, 30, 50, 100, 175, 1, 1, 1.1)
ui.addTextArea(779,"<p align='center'><a href='event:close'><b><R>Kapat</b></a></p>",name,30,240,100,16,1,1,1,true)
elseif callback=="close" then
ui.removeTextArea(999,name)
ui.removeTextArea(779,name)
end
end

H ye basıp nasıl açarım?
Muzovy
« Citoyen »
1401978600000
    • Muzovy#0000
    • Profil
    • Derniers messages
    • Tribu
#4216
  0
bişi istcm

market nası ypçaz
Leo
« Citoyen »
1401978840000
    • Leo#6000
    • Profil
    • Derniers messages
#4217
  0
Oyga a dit :
Kimin sahte hesabısın?

Belki sahte hesabı değil? Ne hemen atlıyorsun bi sus.
Oyga
« Citoyen »
1401978840000
    • Oyga#0000
    • Profil
    • Derniers messages
    • Tribu
#4218
  0
Muzovy a dit :
bişi istcm

market nası ypçaz

Kimin sahte hesabısın?
Interspeed
« Citoyen »
1401978840000
    • Interspeed#0000
    • Profil
    • Derniers messages
    • Tribu
#4219
  0
Oyga a dit :
Kimin sahte hesabısın?

belli oldu :)
Oyga
« Citoyen »
1401978960000
    • Oyga#0000
    • Profil
    • Derniers messages
    • Tribu
#4220
  0
Tutekkro a dit :


Belki sahte hesabı değil? Ne hemen atlıyorsun bi sus.

Görürsün. Kaç kişi marketi istedi? Onlardan birinin hesabı. Şimdide vermiyoruz kodu, beleşcilik yok artık.
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Lua Kodları Tartışma & Yardımlaşma Başlığı
« ‹ 211 / 388 › »
© Atelier801 2018

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

Version 1.27