TFE LUA SCRIPT FLY
--[[
Description: Fly évent.
Use [Espace] Pour fly!
Author: Agk.
]]--
function eventNewPlayer(playerName)
tfm.exec.bindKeyboard(playerName,32,true)
end
function eventKeyboard(playerName, keyCode, True, x, y)
if x ~= 0 and y ~= 0 then
tfm.exec.movePlayer(playerName, playerName.x, playerName.y, false, 0, -50, off)
end
end
for k,v in pairs(tfm.get.room.playerList) do
eventNewPlayer(k)
end