![]() |
![]() ![]() « Citoyen » 1427834460000
| 0 | ||
Brenower a dit : booleando a dit : |
![]() ![]() « Censeur » 1427834700000
| 0 | ||
ruphylin a dit : interessante mas um pouco complicado dps vou ver a bagaça do manual |
![]() ![]() « Citoyen » 1427839920000
| 0 | ||
Um script que o último rato vivo ganha :? |
![]() ![]() « Citoyen » 1427840100000
| 0 | ||
Teyada a dit : ganha oq |
![]() ![]() « Citoyen » 1427841300000
| 0 | ||
ruphylin a dit : mto dificil tonumber e tostring um dia eu aprendo script mto mito esse seu |
![]() ![]() « Citoyen » 1427848980000
| 0 | ||
Ou melhor, o ultimo jogador vivo ganha queijo e-e |
![]() 1428028980000
| | ||
[Modéré par Kinhusxd] |
![]() ![]() « Citoyen » 1428104040000
| 0 | ||
Teyada a dit : local c = {nil, 0} table.foreach(tfm.get.room.playerList, function(a, b) if not b.isDead then c = {a, c[2]+1} end end) if c[2] == 1 then tfm.exec.giveCheese(c[1]) end |
![]() ![]() « Citoyen » 1428108240000
| 0 | ||
Stheblindd a dit : table.foreach foi removido no lua 5.2 .-. |
![]() ![]() « Citoyen » 1428108540000
| 0 | ||
booleando a dit : mas no mice tá funcionando |
![]() ![]() « Citoyen » 1428108840000
| 0 | ||
vdd mas n tava antes |
![]() ![]() « Citoyen » 1428192720000
| 0 | ||
Qual o script que todos viram ovelha ? o.o |
![]() ![]() « Consul » 1428259680000
| 0 | ||
http://thelua.zz.mu/raw.php?id=8d74ab Alguem sabe como fazer p o "tfm.exec.movePlayer("Racody",120,100,false,1000,0,true)" ir para todos (o nil n vai) e tb quero saber como q faz para quanto +1 vc pegar +pontos vc ganhar quando entrar na toca Ex: peguei 1 +1, ganha 1 ponto, peguei 6 +1, ganhei 6 pontos |
![]() ![]() « Citoyen » 1428274200000
| 0 | ||
Racody a dit : Só usar table.foreach,boa sorte :) e outro é só vc verificar a posição dos jogadores no eventLoop Dernière modification le 1428274800000 |
![]() ![]() « Consul » 1428278160000
| 0 | ||
booleando a dit : vc pode colocar p mim? (pelo menos o do table.foreach) eu tentei mas n consegui ;_; se n puder tudo bem :/ |
![]() ![]() « Citoyen » 1428278520000
| 0 | ||
table.foreach(tfm.get.room.playerList,function(k) tfm.exec.movePlayer(k,120,100,false,1000,0,true) end) |
0 | ||
Alguem sabe um coamando para rodar xml no cafofo? tfm.exec.newGame("xml") não funciona |
![]() ![]() « Consul » 1428321960000
| 0 | ||
Figoi a dit : tfm.exec.newGame(''xml'') coloca agr |