Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function eventTextAreaCallback(id, player,callback)
- if (callback == 'fechar') then
- for k = 3,0,-1 do ui.removeTextArea(k,player) end
- end
- end
- function sendUi(title, text, player, x, y, width, height)
- ui.addTextArea(0, string.format("<font size='14' face='Verdana' color='#009D9D'><b>%s</font>",title), player, x+width/2, y-28, width+4, height, 0x27373f, 0x27373f, 1, true);
- ui.addTextArea(1, text, player, x+width/2+2, y, width, height-30, 0x324650, 0x324650, 1, true);
- ui.addTextArea(2, '', player, width+171, y-26, 15, 15, 0x009D9D, 0x009D9D, 1, true);
- ui.addTextArea(3, "<font color = '#324650' size='15'><B><a href='event:fechar'>X</a>", player, width+171, y-30, 15, nil, 0, 0, 1, true);
- end
- sendUi('<p align="center">Aqui você digita o Título','Aqui você digita o assunto!', nil, 0, 100, 370, 170, true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement