Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- id={}
- tfm.exec.setUIMapName("#Dibuja - Juego creado por Thetroz. Diviertete.\n ")
- function eventNewPlayer(name)
- system.bindMouse(name,true)
- end
- for name in pairs(tfm.get.room.playerList) do
- eventNewPlayer(name)
- end
- function eventMouse(name,x,y)
- text_id=math.random(1200)
- table.insert(id,text_id)
- ui.addTextArea(text_id, "<b><font size='10' color ='#303642'>•", nil, x, y, 100,100, 0x303642, 0x303642, 0.0)
- end
- function eventChatCommand(name,c)
- if c:sub(1,5)=='clear' then
- for _,idd in pairs(id) do
- ui.removeTextArea(idd)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment