Lua transformice
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.


Divulge seus mini games, compartilhe seus scripts e sources
 
InícioÚltimas imagensProcurarRegistarEntrar
1

 

 Speed Com H

Ir para baixo 
AutorMensagem
Brumurilo/Yarley
Convidado




Speed Com H Empty
MensagemAssunto: Speed Com H   Speed Com H EmptyQua Set 03, 2014 1:19 am

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

eventNewPlayer=function(target)
tfm.exec.bindKeyboard(target,72,false,true)
end

eventKeyboard=function(target,key)
   if key==72 then
       if tfm.get.room.playerList[target].isFacingRight then
           tfm.exec.movePlayer(target,nil,nil,false,14,0,true)
       else
           tfm.exec.movePlayer(target,nil,nil,false,-14,0,true)
       end
   end
end
Ir para o topo Ir para baixo
 
Speed Com H
Ir para o topo 
Página 1 de 1

Permissões neste sub-fórumNão podes responder a tópicos
Lua transformice :: Scripts prontos-
Ir para: