Advertisement
Guest User

Untitled

a guest
Aug 21st, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. tfm.exec.bindKeyboard('Kombizinha',32,true,true)
  2.  
  3. function eventKeyboard(p,k,d,x,y)
  4. if k==32 then
  5. id=tfm.exec.addShamanObject(7,x,y)
  6. end
  7. end
  8.  
  9. function eventLoop(currentTime,NaoVoPrecisar)
  10. if currentTime > 5000 then
  11. for objects in pairs(tfm.get.room.objectList) do
  12. tfm.exec.removeObject(objects)
  13. end
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement