Advertisement
wassimevicw

ArtMice

Feb 20th, 2018
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. Player = "Wassimevicw" --  اكتب اسم الشخص الذي سيرسم هنا
  2.  
  3.  
  4. for name,player in pairs(tfm.get.room.playerList) do
  5. system.bindMouse(Player, true)
  6. end
  7.  
  8.  
  9. id = 1
  10.  
  11. function eventMouse(Player, x, y)
  12. id = id + 1
  13. ui.addTextArea(id, "", nil, x, y, 6, 6, 0x142b2e, 0x142b2e, 1, true)
  14. end
  15.  
  16. function eventChatCommand(n,cmd)
  17.   if cmd == "clear" then
  18.     for i=1,id do
  19.       ui.removeTextArea(i)
  20.     end
  21.   end
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement