×

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ığı
« ‹ 147 / 388 › »
Lua Kodları Tartışma & Yardımlaşma Başlığı
Emrevegolxd
« Citoyen »
1400325480000
    • Emrevegolxd#0000
    • Profil
    • Derniers messages
#2921
  0
Bana LeardBoard Yada P ye basınca profil cıkma kodunu verirmisiniz
Enesxfbxpro
« Censeur »
1400325960000
    • Enesxfbxpro#0000
    • Profil
    • Derniers messages
    • Tribu
#2922
  0
Mavi ve Kırmızı takım olmak üzere grup yapma kodu neydi.
Emrevegolasd
« Citoyen »
1400326860000
    • Emrevegolasd#0000
    • Profil
    • Derniers messages
#2923
  0
Enesxfbxpro a dit :
Mavi ve Kırmızı takım olmak üzere grup yapma kodu neydi.

red={}
blue={}
function makeTeams()
local playerList={}
for name,player in pairs(tfm.get.room.playerList) do
table.insert(playerList,name)
end
for i=1,#playerList,1 do
local index=math.random(#playerList)
local name=playerList[index]
if i%2==0 then
table.insert(red,name)
else
table.insert(blue,name)
end
table.remove(playerList,index)
end
end
Enesxfbxpro
« Censeur »
1400327040000
    • Enesxfbxpro#0000
    • Profil
    • Derniers messages
    • Tribu
#2924
  0
Emrevegolasd a dit :



red={}
blue={}
function makeTeams()
local playerList={}
for name,player in pairs(tfm.get.room.playerList) do
table.insert(playerList,name)
end
for i=1,#playerList,1 do
local index=math.random(#playerList)
local name=playerList[index]
if i%2==0 then
table.insert(red,name)
else
table.insert(blue,name)
end
table.remove(playerList,index)
end
end

OLmadı
Kmlcan
« Citoyen »
1400327280000
    • Kmlcan#0000
    • Profil
    • Derniers messages
    • Tribu
#2925
  0
takım yapmak istediğin yerde makeTeams() yazacaksın
mesela her yeni oyunda

function eventNewGame()
red = {}
blue = {}
makeTeams()
end

ama o fonksiyonun olması lazım
Dinorai
« Citoyen »
1400333040000
    • Dinorai#0000
    • Profil
    • Derniers messages
#2926
  0
Saçma bi script yaptım isteyen kullansın:

Kod a dit :

tfm.exec.disableAutoShaman(true)

tfm.exec.newGame([[<C><P G="-1,10" F="0" /><Z><S><S L="800" o="697395" H="10" X="400" Y="-89" T="12" P="0,0,0,0,0,0,0,0" /><S L="800" H="32" X="400" Y="398" T="6" P="0,0,0.5,0.2,0,0,0,0" /><S L="10" o="697395" H="800" X="-5" Y="15" T="12" P="0,0,0,0,0,0,0,0" /><S P="0,0,0,0,0,0,0,0" L="10" o="697395" X="805" Y="15" T="12" H="800" /><S L="800" H="32" X="400" Y="398" T="6" P="0,0,0.5,0.2,0,0,0,0" i="164,-376,deesse.png" /></S><D><DS Y="370" X="9"/></D><O /></Z></C>]])

tfm.exec.setUIMapName("<R><b>Lobi</b> <font color='#697395'>|</font> <N>Dinorai")

tfm.exec.disableAutoNewGame(true)

ui.addTextArea(0, "<font size='30'><font color='#000000'><b>Lobi</b></font></font>", nil, 408, 264, 200, 50, 0x000000, 0x000000, 0.1);

Bunu kabilede yada farklı biryerlerde etkinlik öncesi açabilirsiniz ve herkes geldikten sonra etkinliğinize başlayabilirsiniz.
Sanalad
« Citoyen »
1400333640000
    • Sanalad#0000
    • Profil
    • Derniers messages
    • Tribu
#2927
  0
Elinde profil kodu olan var mı?
Kmlcan
« Citoyen »
1400334420000
    • Kmlcan#0000
    • Profil
    • Derniers messages
    • Tribu
#2928
  0
Dinorai a dit :
Saçma bi script yaptım isteyen kullansın:
Bunu kabilede yada farklı biryerlerde etkinlik öncesi açabilirsiniz ve herkes geldikten sonra etkinliğinize başlayabilirsiniz.

Bu daha rahat bence:
a dit :
tfm.exec.disableAutoShaman(true)
tfm.exec.disableAutoNewGame(true)
tfm.exec.newGame('<C><P F="'..math.random(0,7)..'" /><Z><S><S L="22" o="324650" X="327" H="10" Y="320" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S L="19" o="324650" X="342" H="10" Y="288" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S L="19" o="324650" X="359" H="10" Y="281" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S L="30" o="324650" X="394" H="10" Y="274" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S L="160" o="324650" H="20" X="466" Y="273" T="12" P="0,0,0.3,0.2,2,0,0,0" /><S L="80" o="324650" H="20" X="441" Y="267" T="12" P="0,0,0.3,0.2,10,0,0,0" /><S L="160" o="324650" H="20" X="468" Y="276" T="12" P="0,0,0.3,0.2,-4,0,0,0" /><S L="30" o="324650" X="544" H="10" Y="290" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S L="33" o="324650" X="554" H="10" Y="313" T="13" P="0,0,0.3,0.2,0,0,0,0" /><S i="150,10,deesse.png" L="33" o="324650" X="5" H="10" Y="5" T="13" P="0,0,0.3,0.2,0,0,0,0" /></S><D><DS Y="255" X="489" /></D><O /></Z></C>')
Dinorai
« Citoyen »
1400334840000
    • Dinorai#0000
    • Profil
    • Derniers messages
#2929
  0
Kmlcan a dit :

Bu daha rahat bence:

Bencede :D ama textarea nerde

Kemal bide bişe sorcam 1 xml koduna 1 den fazla resim nasıl koyabiliriz?
Sanalad
« Citoyen »
1400335200000
    • Sanalad#0000
    • Profil
    • Derniers messages
    • Tribu
#2930
  0
Sanalad a dit :
Elinde profil kodu olan var mı?

^^
Dinorai
« Citoyen »
1400338680000
    • Dinorai#0000
    • Profil
    • Derniers messages
#2931
  0
Kmlcan a dit :

Bu daha rahat bence:

..math.random..(0,6) yaptım böle oldu
http://i.imgur.com/8PKpSm1.png?1
Oyga
« Citoyen »
1400339400000
    • Oyga#0000
    • Profil
    • Derniers messages
    • Tribu
#2932
  0
Dinorai a dit :


..math.random..(0,6) yaptım böle oldu

0 ile 6 arası rastgele bir sayı demek.
Dinorai
« Citoyen »
1400339580000
    • Dinorai#0000
    • Profil
    • Derniers messages
#2933
  0
Oyga a dit :


0 ile 6 arası rastgele bir sayı demek.

biliyom bir arkaplan seçecek 0-6 arasında ama niye öle sevgililer günü etkinliği (2012) arkaplanı gibi oldu?? onu souryom.
Emrevegolxd
« Citoyen »
1400339700000
    • Emrevegolxd#0000
    • Profil
    • Derniers messages
#2934
  0
Bana Profil Kodu verirmisiniz İgrenc Olsun Fark etmez :)
Oyga
« Citoyen »
1400339940000
    • Oyga#0000
    • Profil
    • Derniers messages
    • Tribu
#2935
  0
Dinorai a dit :


biliyom bir arkaplan seçecek 0-6 arasında ama niye öle sevgililer günü etkinliği (2012) arkaplanı gibi oldu?? onu souryom.

Normal haritalarda da öyle, 6. arka plan. istersen harita editöründe yaptığın haritada yap.
Emrevegolxd
« Citoyen »
1400340180000
    • Emrevegolxd#0000
    • Profil
    • Derniers messages
#2936
  0
Sanalad a dit :
Elinde profil kodu olan var mı?

ui.addTextArea(0,"<V>İsim: Emre <J>Peynir: 0 <G>Ölüm: 458895")
Oyga
« Citoyen »
1400340300000
    • Oyga#0000
    • Profil
    • Derniers messages
    • Tribu
#2937
  0
Emrevegolxd a dit :


ui.addTextArea(0,"&lt;V&gt;İsim: Emre &lt;J&gt;Peynir: 0 &lt;G&gt;Ölüm: 458895")

Ben sana saçma bir kod verdim, sende buraya mı koydun? :c :c
Barsems
« Citoyen »
1400340480000
    • Barsems#0000
    • Profil
    • Derniers messages
#2938
  0
Gerçek profil kodu çok uzun.
Dinorai
« Citoyen »
1400341080000
    • Dinorai#0000
    • Profil
    • Derniers messages
#2939
  0
Oyga a dit :


Ben sana saçma bir kod verdim, sende buraya mı koydun? :c :c

senmi verdin o kodu -_- :) kısacası işte /perfil emrevegolxd -_-

Bişe sorcam http://shotmiceh.micy.org/images/ tarzında siteler varmı ?? varsa link
Neonstrayzer
« Citoyen »
1400341200000
    • Neonstrayzer#0000
    • Profil
    • Derniers messages
    • Tribu
#2940
  0
Dinorai a dit :


senmi verdin o kodu -_- :) kısacası işte /perfil emrevegolxd -_-

Bişe sorcam http://shotmiceh.micy.org/images/ tarzında siteler varmı ?? varsa link

Pvp siteleri paylaşmak yasak.
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Lua Kodları Tartışma & Yardımlaşma Başlığı
« ‹ 147 / 388 › »
© Atelier801 2018

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

Version 1.27