Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function main()
- ui.addTextArea(0, "<p align='center'><a href='event:color'>Color</a></p>", nil, 10, 32, 120, 16, nil, nil, 1, true)
- end
- function eventTextAreaCallback(id, name, cb)
- if id==0 then
- ui.showColorPicker(0, name, 0xC2C2DA, "Escoge un color para tu nombre")
- end
- end
- function eventColorPicked(id, name, color)
- if id==0 and color~=-1 then
- tfm.exec.setNameColor(name, color)
- end
- end
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement