Advertisement
Guest User

Untitled

a guest
Dec 4th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. function eventChatCommand(name,command)
  2. if command == "مسح" then
  3. local ids = {}
  4. for k,v in pairs(tfm.get.room.objectList) do
  5. ids[#ids+1] = v.id
  6. end
  7. for k,v in pairs(ids) do
  8. tfm.exec.removeObject(v)
  9. end
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement