[Skrypt] Bot Chatki Plemiennej |
0 | ||
function eventChatCommand(player,cm) if messages[cm] then textarea(player,messages[cm]) end system.disableChatCommandDisplay(cm, true) end -- Text Area function textarea(player,msg) ui.addTextArea(0,"<font color='#F0A78E'>> [".. cmm.."] [<font color='#E88F4F'><a href='event:close'>".. nameofbot.."</a></font>] ".. msg.."</font</font>",player,6,368,478,1000,0x1C3C41,0x1C3C41,0.9,true) end -- Powiązania Text Area function eventTextAreaCallback(id,player,link) if link == "close" then ui.removeTextArea(0,player) end end |