Script - Speed with H
Vin Dec 23, 2016 11:48 pm
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
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
- BetaTesting
- Mesaje : 3
Data de înscriere : 28/03/2017
Re: Script - Speed with H
Mar Mar 28, 2017 11:55 pm
<3
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum