السلام عليكم ورحمة الله وبركاته كيف حالكم ي عوال
سويت لوحة حقت إرسال رسالة عبر البريد الالكتروني بس ابيها تضبط ماضبطت
أظن انو الخلل في كود إرسال البريد
أتمنى تشوفولي وين الخطأ
كلنت اللوحة :
local screenW, screenH = guiGetScreenSize()
Get_Seria = {}
MSG_Owner = guiCreateButton(0.01, 0.31, 0.17, 0.05, "", true)
guiSetAlpha(MSG_Owner, 0.00)
Show_Stats = guiCreateButton(0.01, 0.38, 0.17, 0.05, "", true)
guiSetAlpha(Show_Stats, 0.00)
Money_Send = guiCreateButton(0.01, 0.45, 0.17, 0.05, "", true)
guiSetAlpha(Money_Send, 0.00)
Get_Seria.AccName = guiCreateButton(0.01, 0.53, 0.17, 0.05, "", true)
guiSetAlpha(Get_Seria.AccName, 0.00)
VIP_Settinge = guiCreateButton(0.01, 0.61, 0.17, 0.05, "", true)
guiSetAlpha(VIP_Settinge, 0.00)
Rules_Panel = guiCreateButton(0.01, 0.68, 0.17, 0.05, "", true)
guiSetAlpha(Rules_Panel, 0.00)
Upgrade_ADMINS = guiCreateButton(0.01, 0.76, 0.17, 0.05, "", true)
guiSetAlpha(Upgrade_ADMINS, 0.00)
Close = guiCreateButton(0.12, 0.89, 0.06, 0.03, "", true)
guiSetAlpha(Close, 0.00)
guiSetVisible(MSG_Owner ,false)
guiSetVisible(Show_Stats ,false)
guiSetVisible(Money_Send ,false)
guiSetVisible(Get_Seria.AccName ,false)
guiSetVisible(VIP_Settinge ,false)
guiSetVisible(Rules_Panel ,false)
guiSetVisible(Upgrade_ADMINS ,false)
guiSetVisible(Close ,false)
function GUI()
dxDrawLine((screenW * 0.0037) - 1, (screenH * 0.2370) - 1, (screenW * 0.0037) - 1, screenH * 0.9258, tocolor(0, 254, 60, 255), 1, false)
dxDrawLine(screenW * 0.1874, (screenH * 0.2370) - 1, (screenW * 0.0037) - 1, (screenH * 0.2370) - 1, tocolor(0, 254, 60, 255), 1, false)
dxDrawLine((screenW * 0.0037) - 1, screenH * 0.9258, screenW * 0.1874, screenH * 0.9258, tocolor(0, 254, 60, 255), 1, false)
dxDrawLine(screenW * 0.1874, screenH * 0.9258, screenW * 0.1874, (screenH * 0.2370) - 1, tocolor(0, 254, 60, 255), 1, false)
dxDrawRectangle(screenW * 0.0037, screenH * 0.2370, screenW * 0.1837, screenH * 0.6888, tocolor(47, 98, 243, 178), false)
dxDrawLine((screenW * 0.0110) - 1, (screenH * 0.3060) - 1, (screenW * 0.0110) - 1, screenH * 0.3529, tocolor(0, 254, 60, 255), 1, false)
dxDrawLine(screenW * 0.1801, (screenH * 0.3060) - 1, (screenW * 0.0110) - 1, (screenH * 0.3060) - 1, tocolor(0, 254, 60, 255), 1, false)
dxDrawLine((screenW * 0.0110) - 1, screenH * 0.3529, screenW * 0.1801, screenH * 0.3529, tocolor(0, 254, 60, 255), 1, false)
dxDrawLine(screenW * 0.1801, screenH * 0.3529, screenW * 0.1801, (screenH * 0.3060) - 1, tocolor(0, 254, 60, 255), 1, false)
dxDrawRectangle(screenW * 0.0110, screenH * 0.3060, screenW * 0.1691, screenH * 0.0469, tocolor(255, 11, 11, 188), false)
dxDrawText("Central Computer Panel", (screenW * 0.0037) + 1, (screenH * 0.2370) + 1, (screenW * 0.1874) + 1, (screenH * 0.2930) + 1, tocolor(0, 0, 0, 254), 1.00, "beckett", "center", "center", false, false, false, true, false)
dxDrawText("Central Computer Panel", screenW * 0.0037, screenH * 0.2370, screenW * 0.1874, screenH * 0.2930, tocolor(218, 221, 0, 254), 1.00, "beckett", "center", "center", false, false, false, true, false)
dxDrawText("Send Message to Owner", (screenW * 0.0110) - 1, (screenH * 0.3060) - 1, (screenW * 0.1801) - 1, (screenH * 0.3529) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Send Message to Owner", (screenW * 0.0110) + 1, (screenH * 0.3060) - 1, (screenW * 0.1801) + 1, (screenH * 0.3529) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Send Message to Owner", (screenW * 0.0110) - 1, (screenH * 0.3060) + 1, (screenW * 0.1801) - 1, (screenH * 0.3529) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Send Message to Owner", (screenW * 0.0110) + 1, (screenH * 0.3060) + 1, (screenW * 0.1801) + 1, (screenH * 0.3529) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Send Message to Owner", screenW * 0.0110, screenH * 0.3060, screenW * 0.1801, screenH * 0.3529, tocolor(96, 75, 254, 212), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawLine((screenW * 0.0110) - 1, (screenH * 0.3789) - 1, (screenW * 0.0110) - 1, screenH * 0.4258, tocolor(132, 235, 0, 254), 1, false)
dxDrawLine(screenW * 0.1801, (screenH * 0.3789) - 1, (screenW * 0.0110) - 1, (screenH * 0.3789) - 1, tocolor(132, 235, 0, 254), 1, false)
dxDrawLine((screenW * 0.0110) - 1, screenH * 0.4258, screenW * 0.1801, screenH * 0.4258, tocolor(132, 235, 0, 254), 1, false)
dxDrawLine(screenW * 0.1801, screenH * 0.4258, screenW * 0.1801, (screenH * 0.3789) - 1, tocolor(132, 235, 0, 254), 1, false)
dxDrawRectangle(screenW * 0.0110, screenH * 0.3789, screenW * 0.1691, screenH * 0.0469, tocolor(255, 11, 11, 188), false)
dxDrawLine((screenW * 0.0110) - 1, (screenH * 0.4544) - 1, (screenW * 0.0110) - 1, screenH * 0.5013, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine(screenW * 0.1801, (screenH * 0.4544) - 1, (screenW * 0.0110) - 1, (screenH * 0.4544) - 1, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine((screenW * 0.0110) - 1, screenH * 0.5013, screenW * 0.1801, screenH * 0.5013, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine(screenW * 0.1801, screenH * 0.5013, screenW * 0.1801, (screenH * 0.4544) - 1, tocolor(31, 225, 0, 254), 1, false)
dxDrawRectangle(screenW * 0.0110, screenH * 0.4544, screenW * 0.1691, screenH * 0.0469, tocolor(255, 11, 11, 188), false)
dxDrawLine((screenW * 0.0110) - 1, (screenH * 0.5299) - 1, (screenW * 0.0110) - 1, screenH * 0.5768, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine(screenW * 0.1801, (screenH * 0.5299) - 1, (screenW * 0.0110) - 1, (screenH * 0.5299) - 1, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine((screenW * 0.0110) - 1, screenH * 0.5768, screenW * 0.1801, screenH * 0.5768, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine(screenW * 0.1801, screenH * 0.5768, screenW * 0.1801, (screenH * 0.5299) - 1, tocolor(31, 225, 0, 254), 1, false)
dxDrawRectangle(screenW * 0.0110, screenH * 0.5299, screenW * 0.1691, screenH * 0.0469, tocolor(255, 11, 11, 188), false)
dxDrawLine((screenW * 0.0110) - 1, (screenH * 0.6081) - 1, (screenW * 0.0110) - 1, screenH * 0.6549, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine(screenW * 0.1801, (screenH * 0.6081) - 1, (screenW * 0.0110) - 1, (screenH * 0.6081) - 1, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine((screenW * 0.0110) - 1, screenH * 0.6549, screenW * 0.1801, screenH * 0.6549, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine(screenW * 0.1801, screenH * 0.6549, screenW * 0.1801, (screenH * 0.6081) - 1, tocolor(31, 225, 0, 254), 1, false)
dxDrawRectangle(screenW * 0.0110, screenH * 0.6081, screenW * 0.1691, screenH * 0.0469, tocolor(255, 11, 11, 188), false)
dxDrawLine((screenW * 0.0110) - 1, (screenH * 0.6849) - 1, (screenW * 0.0110) - 1, screenH * 0.7318, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine(screenW * 0.1801, (screenH * 0.6849) - 1, (screenW * 0.0110) - 1, (screenH * 0.6849) - 1, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine((screenW * 0.0110) - 1, screenH * 0.7318, screenW * 0.1801, screenH * 0.7318, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine(screenW * 0.1801, screenH * 0.7318, screenW * 0.1801, (screenH * 0.6849) - 1, tocolor(31, 225, 0, 254), 1, false)
dxDrawRectangle(screenW * 0.0110, screenH * 0.6849, screenW * 0.1691, screenH * 0.0469, tocolor(255, 11, 11, 188), false)
dxDrawLine((screenW * 0.0110) - 1, (screenH * 0.7643) - 1, (screenW * 0.0110) - 1, screenH * 0.8112, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine(screenW * 0.1801, (screenH * 0.7643) - 1, (screenW * 0.0110) - 1, (screenH * 0.7643) - 1, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine((screenW * 0.0110) - 1, screenH * 0.8112, screenW * 0.1801, screenH * 0.8112, tocolor(31, 225, 0, 254), 1, false)
dxDrawLine(screenW * 0.1801, screenH * 0.8112, screenW * 0.1801, (screenH * 0.7643) - 1, tocolor(31, 225, 0, 254), 1, false)
dxDrawRectangle(screenW * 0.0110, screenH * 0.7643, screenW * 0.1691, screenH * 0.0469, tocolor(255, 11, 11, 188), false)
dxDrawLine((screenW * 0.1237) - 1, (screenH * 0.8893) - 1, (screenW * 0.1237) - 1, screenH * 0.9193, tocolor(216, 0, 0, 254), 1, false)
dxDrawLine(screenW * 0.1845, (screenH * 0.8893) - 1, (screenW * 0.1237) - 1, (screenH * 0.8893) - 1, tocolor(216, 0, 0, 254), 1, false)
dxDrawLine((screenW * 0.1237) - 1, screenH * 0.9193, screenW * 0.1845, screenH * 0.9193, tocolor(216, 0, 0, 254), 1, false)
dxDrawLine(screenW * 0.1845, screenH * 0.9193, screenW * 0.1845, (screenH * 0.8893) - 1, tocolor(216, 0, 0, 254), 1, false)
dxDrawRectangle(screenW * 0.1237, screenH * 0.8893, screenW * 0.0608, screenH * 0.0299, tocolor(217, 214, 0, 212), false)
dxDrawText("Show my stats", (screenW * 0.0110) - 1, (screenH * 0.3789) - 1, (screenW * 0.1801) - 1, (screenH * 0.4258) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Show my stats", (screenW * 0.0110) + 1, (screenH * 0.3789) - 1, (screenW * 0.1801) + 1, (screenH * 0.4258) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Show my stats", (screenW * 0.0110) - 1, (screenH * 0.3789) + 1, (screenW * 0.1801) - 1, (screenH * 0.4258) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Show my stats", (screenW * 0.0110) + 1, (screenH * 0.3789) + 1, (screenW * 0.1801) + 1, (screenH * 0.4258) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Show my stats", screenW * 0.0110, screenH * 0.3789, screenW * 0.1801, screenH * 0.4258, tocolor(31, 225, 0, 254), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Send Money to Player", (screenW * 0.0110) - 1, (screenH * 0.4544) - 1, (screenW * 0.1801) - 1, (screenH * 0.5013) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Send Money to Player", (screenW * 0.0110) + 1, (screenH * 0.4544) - 1, (screenW * 0.1801) + 1, (screenH * 0.5013) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Send Money to Player", (screenW * 0.0110) - 1, (screenH * 0.4544) + 1, (screenW * 0.1801) - 1, (screenH * 0.5013) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Send Money to Player", (screenW * 0.0110) + 1, (screenH * 0.4544) + 1, (screenW * 0.1801) + 1, (screenH * 0.5013) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Send Money to Player", screenW * 0.0110, screenH * 0.4544, screenW * 0.1801, screenH * 0.5013, tocolor(224, 201, 0, 254), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Get My Serial \ Acc Name", (screenW * 0.0110) - 1, (screenH * 0.5299) - 1, (screenW * 0.1801) - 1, (screenH * 0.5768) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Get My Serial \ Acc Name", (screenW * 0.0110) + 1, (screenH * 0.5299) - 1, (screenW * 0.1801) + 1, (screenH * 0.5768) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Get My Serial \ Acc Name", (screenW * 0.0110) - 1, (screenH * 0.5299) + 1, (screenW * 0.1801) - 1, (screenH * 0.5768) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Get My Serial \ Acc Name", (screenW * 0.0110) + 1, (screenH * 0.5299) + 1, (screenW * 0.1801) + 1, (screenH * 0.5768) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Get My Serial \ Acc Name", screenW * 0.0110, screenH * 0.5299, screenW * 0.1801, screenH * 0.5768, tocolor(0, 223, 200, 254), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Manage my VIP Inf", (screenW * 0.0110) - 1, (screenH * 0.6081) - 1, (screenW * 0.1801) - 1, (screenH * 0.6549) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Manage my VIP Inf", (screenW * 0.0110) + 1, (screenH * 0.6081) - 1, (screenW * 0.1801) + 1, (screenH * 0.6549) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Manage my VIP Inf", (screenW * 0.0110) - 1, (screenH * 0.6081) + 1, (screenW * 0.1801) - 1, (screenH * 0.6549) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Manage my VIP Inf", (screenW * 0.0110) + 1, (screenH * 0.6081) + 1, (screenW * 0.1801) + 1, (screenH * 0.6549) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Manage my VIP Inf", screenW * 0.0110, screenH * 0.6081, screenW * 0.1801, screenH * 0.6549, tocolor(20, 0, 222, 254), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Server Rules Panel", (screenW * 0.0110) - 1, (screenH * 0.6849) - 1, (screenW * 0.1801) - 1, (screenH * 0.7318) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Server Rules Panel", (screenW * 0.0110) + 1, (screenH * 0.6849) - 1, (screenW * 0.1801) + 1, (screenH * 0.7318) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Server Rules Panel", (screenW * 0.0110) - 1, (screenH * 0.6849) + 1, (screenW * 0.1801) - 1, (screenH * 0.7318) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Server Rules Panel", (screenW * 0.0110) + 1, (screenH * 0.6849) + 1, (screenW * 0.1801) + 1, (screenH * 0.7318) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Server Rules Panel", screenW * 0.0110, screenH * 0.6849, screenW * 0.1801, screenH * 0.7318, tocolor(0, 221, 31, 254), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("ADMINS To upgrade Rank", (screenW * 0.0110) - 1, (screenH * 0.7643) - 1, (screenW * 0.1801) - 1, (screenH * 0.8112) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("ADMINS To upgrade Rank", (screenW * 0.0110) + 1, (screenH * 0.7643) - 1, (screenW * 0.1801) + 1, (screenH * 0.8112) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("ADMINS To upgrade Rank", (screenW * 0.0110) - 1, (screenH * 0.7643) + 1, (screenW * 0.1801) - 1, (screenH * 0.8112) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("ADMINS To upgrade Rank", (screenW * 0.0110) + 1, (screenH * 0.7643) + 1, (screenW * 0.1801) + 1, (screenH * 0.8112) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("ADMINS To upgrade Rank", screenW * 0.0110, screenH * 0.7643, screenW * 0.1801, screenH * 0.8112, tocolor(213, 220, 0, 254), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Close", (screenW * 0.1237) - 1, (screenH * 0.8893) - 1, (screenW * 0.1845) - 1, (screenH * 0.9193) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Close", (screenW * 0.1237) + 1, (screenH * 0.8893) - 1, (screenW * 0.1845) + 1, (screenH * 0.9193) - 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Close", (screenW * 0.1237) - 1, (screenH * 0.8893) + 1, (screenW * 0.1845) - 1, (screenH * 0.9193) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Close", (screenW * 0.1237) + 1, (screenH * 0.8893) + 1, (screenW * 0.1845) + 1, (screenH * 0.9193) + 1, tocolor(0, 0, 0, 255), 1.10, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("Close", screenW * 0.1237, screenH * 0.8893, screenW * 0.1845, screenH * 0.9193, tocolor(219, 0, 0, 254), 1.10, "default-bold", "center", "center", false, false, false, false, false)
end
Close_MSG = guiCreateButton(0.63, 0.71, 0.08, 0.04, "", true)
guiSetAlpha(Close_MSG, 0.00)
Send_MSG = guiCreateButton(0.39, 0.70, 0.14, 0.04, "", true)
guiSetAlpha(Send_MSG, 0.00)
MSG_memo = guiCreateMemo(0.39, 0.37, 0.26, 0.28, "", true)
Owner_Mail = guiCreateEdit(0.39, 0.31, 0.26, 0.04, "
[email protected]", true)
guiEditSetReadOnly(Owner_Mail, true)
guiSetVisible(Close_MSG ,false)
guiSetVisible(Send_MSG ,false)
guiSetVisible(MSG_memo ,false)
guiSetVisible(Owner_Mail ,false)
function Mail_Send()
dxDrawLine((screenW * 0.2892) - 1, (screenH * 0.2500) - 1, (screenW * 0.2892) - 1, screenH * 0.7513, tocolor(23, 253, 0, 254), 1, false)
dxDrawLine(screenW * 0.7108, (screenH * 0.2500) - 1, (screenW * 0.2892) - 1, (screenH * 0.2500) - 1, tocolor(23, 253, 0, 254), 1, false)
dxDrawLine((screenW * 0.2892) - 1, screenH * 0.7513, screenW * 0.7108, screenH * 0.7513, tocolor(23, 253, 0, 254), 1, false)
dxDrawLine(screenW * 0.7108, screenH * 0.7513, screenW * 0.7108, (screenH * 0.2500) - 1, tocolor(23, 253, 0, 254), 1, false)
dxDrawRectangle(screenW * 0.2892, screenH * 0.2500, screenW * 0.4217, screenH * 0.5013, tocolor(10, 120, 244, 182), false)
dxDrawText("Message To Server Owner : Mail", (screenW * 0.2892) + 1, (screenH * 0.2500) + 1, (screenW * 0.7108) + 1, (screenH * 0.3021) + 1, tocolor(0, 0, 0, 255), 1.20, "beckett", "center", "bottom", false, false, false, false, false)
dxDrawText("Message To Server Owner : Mail", screenW * 0.2892, screenH * 0.2500, screenW * 0.7108, screenH * 0.3021, tocolor(252, 250, 0, 254), 1.20, "beckett", "center", "bottom", false, false, false, false, false)
dxDrawText("# Owner Mail", (screenW * 0.2965) - 1, (screenH * 0.3151) - 1, (screenW * 0.3836) - 1, (screenH * 0.3516) - 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("# Owner Mail", (screenW * 0.2965) + 1, (screenH * 0.3151) - 1, (screenW * 0.3836) + 1, (screenH * 0.3516) - 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("# Owner Mail", (screenW * 0.2965) - 1, (screenH * 0.3151) + 1, (screenW * 0.3836) - 1, (screenH * 0.3516) + 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("# Owner Mail", (screenW * 0.2965) + 1, (screenH * 0.3151) + 1, (screenW * 0.3836) + 1, (screenH * 0.3516) + 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("# Owner Mail", screenW * 0.2965, screenH * 0.3151, screenW * 0.3836, screenH * 0.3516, tocolor(41, 251, 0, 254), 1.30, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("# Message :", (screenW * 0.2921) - 1, (screenH * 0.3711) - 1, (screenW * 0.3792) - 1, (screenH * 0.4076) - 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("# Message :", (screenW * 0.2921) + 1, (screenH * 0.3711) - 1, (screenW * 0.3792) + 1, (screenH * 0.4076) - 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("# Message :", (screenW * 0.2921) - 1, (screenH * 0.3711) + 1, (screenW * 0.3792) - 1, (screenH * 0.4076) + 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("# Message :", (screenW * 0.2921) + 1, (screenH * 0.3711) + 1, (screenW * 0.3792) + 1, (screenH * 0.4076) + 1, tocolor(0, 0, 0, 255), 1.30, "default-bold", "center", "center", false, false, false, false, false)
dxDrawText("# Message :", screenW * 0.2921, screenH * 0.3711, screenW * 0.3792, screenH * 0.4076, tocolor(250, 177, 0, 254), 1.30, "default-bold", "center", "center", false, false, false, false, false)
dxDrawLine((screenW * 0.3939) - 1, (screenH * 0.6979) - 1, (screenW * 0.3939) - 1, screenH * 0.7383, tocolor(248, 0, 0, 254), 1, false)
dxDrawLine(screenW * 0.5373, (screenH * 0.6979) - 1, (screenW * 0.3939) - 1, (screenH * 0.6979) - 1, tocolor(248, 0, 0, 254), 1, false)
dxDrawLine((screenW * 0.3939) - 1, screenH * 0.7383, screenW * 0.5373, screenH * 0.7383, tocolor(248, 0, 0, 254), 1, false)
dxDrawLine(screenW * 0.5373, screenH * 0.7383, screenW * 0.5373, (screenH * 0.6979) - 1, tocolor(248, 0, 0, 254), 1, false)
dxDrawRectangle(screenW * 0.3939, screenH * 0.6979, screenW * 0.1435, screenH * 0.0404, tocolor(23, 249, 0, 254), false)
dxDrawText("Ok, Send My message", (screenW * 0.3939) - 1, (screenH * 0.6979) - 1, (screenW * 0.5373) - 1, (screenH * 0.7383) - 1, tocolor(0, 0, 0, 255), 1.00, "sans", "center", "center", false, false, false, false, false)
dxDrawText("Ok, Send My message", (screenW * 0.3939) + 1, (screenH * 0.6979) - 1, (screenW * 0.5373) + 1, (screenH * 0.7383) - 1, tocolor(0, 0, 0, 255), 1.00, "sans", "center", "center", false, false, false, false, false)
dxDrawText("Ok, Send My message", (screenW * 0.3939) - 1, (screenH * 0.6979) + 1, (screenW * 0.5373) - 1, (screenH * 0.7383) + 1, tocolor(0, 0, 0, 255), 1.00, "sans", "center", "center", false, false, false, false, false)
dxDrawText("Ok, Send My message", (screenW * 0.3939) + 1, (screenH * 0.6979) + 1, (screenW * 0.5373) + 1, (screenH * 0.7383) + 1, tocolor(0, 0, 0, 255), 1.00, "sans", "center", "center", false, false, false, false, false)
dxDrawText("Ok, Send My message", screenW * 0.3939, screenH * 0.6979, screenW * 0.5373, screenH * 0.7383, tocolor(247, 0, 0, 254), 1.00, "sans", "center", "center", false, false, false, false, false)
dxDrawLine((screenW * 0.6296) - 1, (screenH * 0.7057) - 1, (screenW * 0.6296) - 1, screenH * 0.7435, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(screenW * 0.7079, (screenH * 0.7057) - 1, (screenW * 0.6296) - 1, (screenH * 0.7057) - 1, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine((screenW * 0.6296) - 1, screenH * 0.7435, screenW * 0.7079, screenH * 0.7435, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(screenW * 0.7079, screenH * 0.7435, screenW * 0.7079, (screenH * 0.7057) - 1, tocolor(0, 0, 0, 255), 1, false)
dxDrawRectangle(screenW * 0.6296, screenH * 0.7057, screenW * 0.0783, screenH * 0.0378, tocolor(245, 0, 75, 254), false)
dxDrawText("Close", (screenW * 0.6296) - 1, (screenH * 0.7057) - 1, (screenW * 0.7079) - 1, (screenH * 0.7435) - 1, tocolor(0, 0, 0, 255), 1.00, "sans", "center", "center", false, false, false, false, false)
dxDrawText("Close", (screenW * 0.6296) + 1, (screenH * 0.7057) - 1, (screenW * 0.7079) + 1, (screenH * 0.7435) - 1, tocolor(0, 0, 0, 255), 1.00, "sans", "center", "center", false, false, false, false, false)
dxDrawText("Close", (screenW * 0.6296) - 1, (screenH * 0.7057) + 1, (screenW * 0.7079) - 1, (screenH * 0.7435) + 1, tocolor(0, 0, 0, 255), 1.00, "sans", "center", "center", false, false, false, false, false)
dxDrawText("Close", (screenW * 0.6296) + 1, (screenH * 0.7057) + 1, (screenW * 0.7079) + 1, (screenH * 0.7435) + 1, tocolor(0, 0, 0, 255), 1.00, "sans", "center", "center", false, false, false, false, false)
dxDrawText("Close", screenW * 0.6296, screenH * 0.7057, screenW * 0.7079, screenH * 0.7435, tocolor(0, 17, 246, 254), 1.00, "sans", "center", "center", false, false, false, false, false)
end
function OpenWin()
if removeEventHandler("onClientRender",root,GUI)then
removeEventHandler("onClientRender",root,GUI)
showCursor(false)
else
addEventHandler("onClientRender",root,GUI)
showCursor(true)
guiSetVisible(MSG_Owner ,true)
guiSetVisible(Show_Stats ,true)
guiSetVisible(Money_Send ,true)
guiSetVisible(Get_Seria.AccName ,true)
guiSetVisible(VIP_Settinge ,true)
guiSetVisible(Rules_Panel ,true)
guiSetVisible(Upgrade_ADMINS ,true)
guiSetVisible(Close ,true)
end
end
bindKey ( "F5", "down", OpenWin )
addEventHandler("onClientGUIClick", root,
function()
if source == Close then
removeEventHandler("onClientRender",root,GUI)
showCursor(false)
guiSetVisible(MSG_Owner ,false)
guiSetVisible(Show_Stats ,false)
guiSetVisible(Money_Send ,false)
guiSetVisible(Get_Seria.AccName ,false)
guiSetVisible(VIP_Settinge ,false)
guiSetVisible(Rules_Panel ,false)
guiSetVisible(Upgrade_ADMINS ,false)
guiSetVisible(Close ,false)
elseif (source == MSG_Owner) then
addEventHandler("onClientRender",root,Mail_Send)
removeEventHandler("onClientRender",root,GUI)
guiSetVisible(Close_MSG ,true)
guiSetVisible(Send_MSG ,true)
guiSetVisible(MSG_memo ,true)
guiSetVisible(Owner_Mail ,true)
showCursor(true)
guiSetVisible(MSG_Owner ,false)
guiSetVisible(Show_Stats ,false)
guiSetVisible(Money_Send ,false)
guiSetVisible(Get_Seria.AccName ,false)
guiSetVisible(VIP_Settinge ,false)
guiSetVisible(Rules_Panel ,false)
guiSetVisible(Upgrade_ADMINS ,false)
guiSetVisible(Close ,false)
elseif source == Close_MSG then
removeEventHandler("onClientRender",root,Mail_Send)
guiSetVisible(Close_MSG ,false)
guiSetVisible(Send_MSG ,false)
guiSetVisible(MSG_memo ,false)
guiSetVisible(Owner_Mail ,false)
showCursor(false)
elseif source == Send_MSG then
local GET = guiGetText(MSG_memo)
setElementData ( source, "MESG", GET )
triggerServerEvent('SendMail',localPlayer)
end
end
)
كود السيرفر :
addEvent("SendMail",true)
addEventHandler("SendMail",root,
function ( player,Text2 )
local Text2 = getElementData ( source, "MESG" )
local text =(Text2)
if text then
sendMailTo ( "
[email protected]", "
[email protected]", "MessageFromServer", text )
end
end
)
أتمنى تردون بسرعة ... وشكرا لكم