Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ui.addTextArea(1,"<a href='event:colour'><font size='30' color='#FF00F0'>Ø</font></a>",nil, 50, 50, nil, nil, nil, nil, 0, true)
- function eventTextAreaCallback(id, name, cb)
- if id == 1 and cb == "colour" then
- ui.showColorPicker(1, name, 0xF1A41B, "Chose you're name's color!")
- end
- end
- function eventColorPicked( id, name, color)
- tfm.exec.setNameColor(name, color)
- end
Advertisement
Add Comment
Please, Sign In to add comment