×

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ığı
« ‹ 38 / 388 › »
Lua Kodları Tartışma & Yardımlaşma Başlığı
Iemrevegol
« Citoyen »
1395685860000
    • Iemrevegol#0000
    • Profil
    • Derniers messages
    • Tribu
#741
  0
Fatihmilano a dit :

function eventNewPlayer(p)
tfm.exec.bindKeyboard(p,32,true,true)
end

for n in pairs(tfm.get.room.playerList) do
eventNewPlayer(n)
end

function eventKeyboard(p,k,d,x,y)
if k==32 then
ui.addPopup(1,0,"Help",p,300,150,300,true)
end
end

--Space ile çalışır.

teşekkürler kod icin ama space ile acılmasını istemiyorum.
Fatihmilano
« Citoyen »
1395685860000
    • Fatihmilano#0000
    • Profil
    • Derniers messages
    • Tribu
#742
  0
Iemrevegol a dit :

teşekkürler kod icin ama space ile acılmasını istemiyorum.

Bir zahmet 32 yazan yerleri H tuş koduyla değiştir.
Iemrevegol
« Citoyen »
1395685860000
    • Iemrevegol#0000
    • Profil
    • Derniers messages
    • Tribu
#743
  0
Fatihmilano a dit :


Bir zahmet 32 yazan yerleri H tuş koduyla değiştir.

Uraşamam :D
Fatihmilano
« Citoyen »
1395685980000
    • Fatihmilano#0000
    • Profil
    • Derniers messages
    • Tribu
#744
  0
Iemrevegol a dit :
Uraşamam :D

Tamam, bende.
Iemrevegol
« Citoyen »
1395685980000
    • Iemrevegol#0000
    • Profil
    • Derniers messages
    • Tribu
#745
  0
Fatihmilano a dit :
Tamam, bende.

function eventNewPlayer(p)
tfm.exec.bindKeyboard(p,H,true,true)
end

for n in pairs(tfm.get.room.playerList) do
eventNewPlayer(n)
end

function eventKeyboard(p,k,d,x,y)
if k==H then
ui.addPopup(1,0,"Help",p,300,150,300,true)
end
end
neresi yanlış
Fatihmilano
« Citoyen »
1395686100000
    • Fatihmilano#0000
    • Profil
    • Derniers messages
    • Tribu
#746
  0
Iemrevegol a dit :
function eventNewPlayer(p)
tfm.exec.bindKeyboard(p,H,true,true)
end

for n in pairs(tfm.get.room.playerList) do
eventNewPlayer(n)
end

function eventKeyboard(p,k,d,x,y)
if k==H then
ui.addPopup(1,0,"Help",p,300,150,300,true)
end
end
neresi yanlış

Hadi canım :o
Iemrevegol
« Citoyen »
1395686100000
    • Iemrevegol#0000
    • Profil
    • Derniers messages
    • Tribu
#747
  0
Fatihmilano a dit :

Hadi canım :o

derken
Paralor
« Citoyen »
1395686220000
    • Paralor#0000
    • Profil
    • Derniers messages
    • Tribu
#748
  0
Iemrevegol a dit :


function eventNewPlayer(p)
tfm.exec.bindKeyboard(p,H,true,true)
end

for n in pairs(tfm.get.room.playerList) do
eventNewPlayer(n)
end

function eventKeyboard(p,k,d,x,y)
if k==H then
ui.addPopup(1,0,"Help",p,300,150,300,true)
end
end
neresi yanlış

dur düzeltim bunu :D
Fatihmilano
« Citoyen »
1395686220000
    • Fatihmilano#0000
    • Profil
    • Derniers messages
    • Tribu
#749
  0
function eventNewPlayer(p)
tfm.exec.bindKeyboard(p,72,true,true)
end
for n in pairs(tfm.get.room.playerList) do
eventNewPlayer(n)
end
function eventKeyboard(p,k,d,x,y)
if k==72 then
ui.addPopup(1,0,"Help",p,300,150,300,true)
end
end
Paralor
« Citoyen »
1395686220000
    • Paralor#0000
    • Profil
    • Derniers messages
    • Tribu
#750
  0
function eventNewPlayer(p)
tfm.exec.bindKeyboard(p,72,true,true)
end

for n in pairs(tfm.get.room.playerList) do
eventNewPlayer(n)
end

function eventKeyboard(p,k,d,x,y)
if k==72 then
ui.addPopup(1,0,"Help",p,300,150,300,true)
end
end

ana fatih atmışın :D
Fatihmilano
« Citoyen »
1395686400000
    • Fatihmilano#0000
    • Profil
    • Derniers messages
    • Tribu
#751
  0
Paralor a dit :
function eventNewPlayer(p)
tfm.exec.bindKeyboard(p,72,true,true)
end

for n in pairs(tfm.get.room.playerList) do
eventNewPlayer(n)
end

function eventKeyboard(p,k,d,x,y)
if k==72 then
ui.addPopup(1,0,"Help",p,300,150,300,true)
end
end

ana fatih atmışın :D

Evet, senden önce davrandım ^^
Profightxdp
« Citoyen »
1395687900000
    • Profightxdp#0000
    • Profil
    • Derniers messages
    • Tribu
#752
  0
Fatih kardeşim

function eventNewPlayer(p)
tfm.exec.bindKeyboard(p,72,true,true)
end

for n in pairs(tfm.get.room.playerList) do
eventNewPlayer(n)
end

function eventKeyboard(p,k,d,x,y)
if k==72 then
ui.addPopup(1,0,"Help",p,300,150,300,true)
end
end

bu attiğini ben H tuşuna çevirdim ama bunu nasıl hem adam H tuşuna basıp açıcak veyada !yardım yazarak ?
Fatihmilano
« Citoyen »
1395687900000
    • Fatihmilano#0000
    • Profil
    • Derniers messages
    • Tribu
#753
  0
Profightxdp a dit :
Fatih kardeşim

function eventNewPlayer(p)
tfm.exec.bindKeyboard(p,72,true,true)
end

for n in pairs(tfm.get.room.playerList) do
eventNewPlayer(n)
end

function eventKeyboard(p,k,d,x,y)
if k==72 then
ui.addPopup(1,0,"Help",p,300,150,300,true)
end
end

bu attiğini ben H tuşuna çevirdim ama bunu nasıl hem adam H tuşuna basıp açıcak veyada !yardım yazarak ?

Sen mi çevirdin?
Profightxdp
« Citoyen »
1395688020000
    • Profightxdp#0000
    • Profil
    • Derniers messages
    • Tribu
#754
  0
Fatihmilano a dit :


Sen mi çevirdin?

Hayır sen adama attınya ben onun tuşunu 72 H ye çevirdim ama adamlar hem h tuşuna basıp hemde !yardım yazarak nası açabilir ?
Fatihmilano
« Citoyen »
1395688140000
    • Fatihmilano#0000
    • Profil
    • Derniers messages
    • Tribu
#755
  0
Profightxdp a dit :
Hayır sen adama attınya ben onun tuşunu 72 H ye çevirdim ama adamlar hem h tuşuna basıp hemde !yardım yazarak nası açabilir ?

Ben bir yarım saat önceden çevirmişim zaten ama bak.
Neyse, yapması gereken ayriyeten bir !yardım komutu oluşturmak
Profightxdp
« Citoyen »
1395688140000
    • Profightxdp#0000
    • Profil
    • Derniers messages
    • Tribu
#756
  0
Fatihmilano a dit :


Ben bir yarım saat önceden çevirmişim zaten ama bak.
Neyse, yapması gereken ayriyeten bir !yardım komutu oluşturmak

o komutu nası ekliyeceğim ?
Fatihmilano
« Citoyen »
1395688440000
    • Fatihmilano#0000
    • Profil
    • Derniers messages
    • Tribu
#757
  0
Profightxdp a dit :
o komutu nası ekliyeceğim ?

function eventChatCommand(p,c)
if c=="yardım" then
ui.addPopup(1,0,"Help",p,300,150,300,true)
end
end
Profightxdp
« Citoyen »
1395688560000
    • Profightxdp#0000
    • Profil
    • Derniers messages
    • Tribu
#758
  0
Fatihmilano a dit :

function eventChatCommand(p,c)
if c=="yardım" then
ui.addPopup(1,0,"Help",p,300,150,300,true)
end
end

Saol ;)
Leo
« Citoyen »
1395689580000
    • Leo#6000
    • Profil
    • Derniers messages
#759
  0
Basit bir sms kodu;
a dit :
players={}
function eventNewPlayer(name)
players[name]={kime="",smsl=""}
end
for name,players in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end
function eventChatCommand(name,cmd)
if cmd=="sms" then
ui.addPopup(0,2,"Kime mesaj atmak istersin?",name,200,200)
end
end
function eventPopupAnswer(id,name,answer)
if id == 0 and tfm.get.room.playerList[answer] then
players[name].kime=(answer)
ui.addPopup(1,2,""..players[name].kime.." adlı kişiye mesajınızı yazın.",name,200,200)
elseif id==1 then
players[name].smsl = "<R>"..name.."<N> diyorki;<br>"..answer..""
ui.addPopup(2,1,"Yeni Bir Mesajınız Var. Açmak istermisiniz ?",players[name].kime,200,200)
elseif id==2 then
if answer=="yes" then
ui.addPopup(5,0,players[name].smsl,name,300,200,200,true)
end
end
end

.
Fatihmilano
« Citoyen »
1395689820000
    • Fatihmilano#0000
    • Profil
    • Derniers messages
    • Tribu
#760
  0
Şu anda kabile evinde iyi bir eğleniyoruz :)
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Lua Kodları Tartışma & Yardımlaşma Başlığı
« ‹ 38 / 388 › »
© Atelier801 2018

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

Version 1.27