Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Ao virar vampiro, o jogador conseguirá voar!
- eventPlayerVampire=function(name)
- system.bindKeyboard(name,32,true,true)
- end
- eventKeyboard=function(name,key,down,x,y)
- if key==32 then
- tfm.exec.movePlayer(name,0,0,true,0,-50,false)
- end
- end
- eventPlayerDied=function(name)
- if tfm.get.room.playerList[name].isVampire then
- system.bindKeyboard(name,32,true,false)
- end
- end
- eventNewGame=function()
- for i,v in pairs(tfm.get.room.playerList) do
- system.bindKeyboard(i,32,true,false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement