Botchy
Mouse
Code:
Admin = "Botchy" -- اكتب هنا من يمكنه فتح المخزن
ui.addTextArea(19, "<a href='event:On'><font color='#babd2f'> تشغيل", nil, 342, 40, 100, 17, 0x324650, 0x000000, 0.3, true)
function eventTextAreaCallback(id, name, event)
if event == "On" and name then
ui.removeTextArea(19, name)
ui.addTextArea(9, "<a href='event:Fli'> \n طائرة", nil, 114, 176, 43, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(2, "", nil, 6, 127, 207, 261, 0x324650, 0x000000, 1, true)
ui.addTextArea(10, "<a href='event:fish'> سمكة \n ميتة\n", Admin, 167, 176, 43, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(4, "<a href='event:Fis'> \n سمك", Admin, 61, 128, 43, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(3, "<a href='event:Chi'> \n دجاجة", Admin, 8, 128, 43, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(5, "<a href='event:Sam'> رقصة \n السامبا\n ", Admin, 113, 128, 43, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(6, "<a href='event:Rip'> \n قبر", Admin, 167, 128, 43, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(7, "<a href='event:Pap'> \n ورق", Admin, 9, 176, 43, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(8, "<a href='event:Las'> \n كرة ليزر", Admin, 62, 176, 43, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(16, "\n<a href='event:Off'>--------اخفاء--------", Admin, 55, 350, 95, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(11, "<a href='event:Mar'> \n مارشميلو\n", Admin, 9, 223, 43, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(12, "<a href='event:Sil'> \n سيلفي\n", Admin, 61, 223, 43, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(13, "<a href='event:Sno'> \n كرة ثلج\n", Admin, 114, 223, 43, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(15, "<a href='event:Out'> اداة\n الاحتفال", Admin, 166, 223, 43, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(14, "<a href='event:Fli'> \n طائرة", Admin, 115, 176, 43, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(17, "<a href='event:cht'> \n غناء", Admin, 9, 271, 43, 38, 0x00aaff, 0x000000, 1, true)
ui.addTextArea(18, "<a href='event:Bal'> \n كرة", Admin, 61, 270, 43, 38, 0x00aaff, 0x000000, 1, true)
end
if event == "Chi" and name then
tfm.exec.addShamanObject(33,tfm.get.room.playerList[name].x+20,tfm.get.room.playerList[name].y,0,10,0,false)
end
if event == "Fis" and name then
tfm.exec.addShamanObject(65,tfm.get.room.playerList[name].x+20,tfm.get.room.playerList[name].y,0,10,0,false)
end
if event == "Sam" and name then
tfm.exec.playEmote (name, 24, nil )
end
if event == "Rip" and name then
tfm.exec.addShamanObject(90,tfm.get.room.playerList[name].x+10,tfm.get.room.playerList[name].y,0,0,0,false)
end
if event == "Pap" and name then
tfm.exec.addShamanObject(95,tfm.get.room.playerList[name].x+10,tfm.get.room.playerList[name].y,0,0,0,false)
end
if event == "Las" and name then
tfm.exec.addShamanObject(97,tfm.get.room.playerList[name].x+10,tfm.get.room.playerList[name].y,0,0,0,false)
end
if event == "Fli" and name then
tfm.exec.addShamanObject(80,tfm.get.room.playerList[name].x+10,tfm.get.room.playerList[name].y,0,0,0,false)
end
if event == "fish" and name then
tfm.exec.addShamanObject(63,tfm.get.room.playerList[name].x+10,tfm.get.room.playerList[name].y,0,0,0,false)
end
if event == "Mar" and name then
tfm.exec.playEmote (name, 11, nil )
end
if event == "Sil" and name then
tfm.exec.playEmote (name, 12, nil )
end
if event == "Sno" and name then
tfm.exec.addShamanObject(34,tfm.get.room.playerList[name].x+10,tfm.get.room.playerList[name].y,0,5,0,false)
end
if event == "Out" and name then
tfm.exec.playEmote (name, 16, nil )
end
if event == "cht" and name then
tfm.exec.playEmote (name, 20, nil )
end
if event == "Bal" and name then
tfm.exec.addShamanObject(6,tfm.get.room.playerList[name].x+10,tfm.get.room.playerList[name].y,0,5,7,false)
end
if event=="Off" and name then
ui.removeTextArea(2, name)
ui.removeTextArea(3, name)
ui.removeTextArea(4, name)
ui.removeTextArea(5, name)
ui.removeTextArea(6, name)
ui.removeTextArea(7, name)
ui.removeTextArea(8, name)
ui.removeTextArea(9, name)
ui.removeTextArea(10, name)
ui.removeTextArea(11, name)
ui.removeTextArea(12, name)
ui.removeTextArea(13, name)
ui.removeTextArea(14, name)
ui.removeTextArea(15, name)
ui.removeTextArea(16, name)
ui.removeTextArea(17, name)
ui.removeTextArea(18, name)
ui.addTextArea(13, "<a href='event:On'><font color='#babd2f'> تشغيل", nil, 342, 40, 100, 17, 0x324650, 0x000000, 0.3, true)
end
end
ui.setShamanName ("المخزن")
tfm.exec.setUIMapName('By Botchy')
Last edited by a moderator:
