--[[-------------------------------------------------
--- المود صنع مستر الكارثه
---
[email protected]
--- الرجاء عدم نزع الحقوق
--]]-------------------------------------------------
outputChatBox("#1569c7* [ Login #ffffff/ #1569c7Register ] : By : #FF0000Mr~AL~#FFF000~Kartha",0,0,0,true) ---- الكلام الظاهر في الشات
GUIEditor = {
staticimage = {},
edit = {},
button = {},
window = {},
label = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[1] = guiCreateWindow(1, 0, 799, 600, "[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetAlpha(GUIEditor.window[1], 0.99)
guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000")
GUIEditor.staticimage[1] = guiCreateStaticImage(9, 22, 780, 308, "win.png", false, GUIEditor.window[1])
GUIEditor.label[1] = guiCreateLabel(193, 344, 406, 24, "الرجاء عدم اعطاء الرقم السري الى احد حتا لو كان اخوك ولد عمك لا تعطيه ناس", false, GUIEditor.window[1])
guiSetFont(GUIEditor.label[1], "default-bold-small")
guiLabelSetColor(GUIEditor.label[1], 255, 252, 0)
user = guiCreateEdit(305, 417, 185, 29, "", false, GUIEditor.window[1])
pass = guiCreateEdit(305, 474, 185, 29, "", false, GUIEditor.window[1])
GUIEditor.label[2] = guiCreateLabel(342, 395, 117, 22, "آســم آلــمــســتــخــدم", false, GUIEditor.window[1])
guiSetFont(GUIEditor.label[2], "default-bold-small")
guiLabelSetColor(GUIEditor.label[2], 255, 0, 0)
GUIEditor.label[3] = guiCreateLabel(352, 452, 95, 22, "كــلــمــة آلــمــرور", false, GUIEditor.window[1])
guiSetFont(GUIEditor.label[3], "default-bold-small")
guiLabelSetColor(GUIEditor.label[3], 251, 255, 0)
GUIEditor.button[1] = guiCreateButton(274, 534, 88, 31, "تـسـجـيـل", false, GUIEditor.window[1])
guiSetFont(GUIEditor.button[1], "default-bold-small")
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFBFF00")
GUIEditor.button[2] = guiCreateButton(362, 534, 88, 31, "دخـول", false, GUIEditor.window[1])
guiSetFont(GUIEditor.button[2], "default-bold-small")
guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF05FF00")
GUIEditor.button[3] = guiCreateButton(450, 534, 88, 31, "زآئـر", false, GUIEditor.window[1])
guiSetFont(GUIEditor.button[3], "default-bold-small")
guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF00FFF5")
GUIEditor.label[4] = guiCreateLabel(236, 371, 320, 20, "\" رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ\"", false, GUIEditor.window[1])
guiSetFont(GUIEditor.label[4], "default-bold-small")
guiLabelSetColor(GUIEditor.label[4], 255, 252, 0)
GUIEditor.label[5] = guiCreateLabel(14, 337, 114, 21, "Mod By : Mr-Kartha", false, GUIEditor.window[1])
guiSetFont(GUIEditor.label[5], "default-bold-small")
guiLabelSetColor(GUIEditor.label[5], 0, 251, 255)
GUIEditor.button[4] = guiCreateButton(411, 513, 29, 16, "EN", false, GUIEditor.window[1])
guiSetFont(GUIEditor.button[4], "default-bold-small")
guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFF0000")
GUIEditor.button[5] = guiCreateButton(366, 513, 29, 16, "AR", false, GUIEditor.window[1])
guiSetFont(GUIEditor.button[5], "default-bold-small")
guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF2FFF00")
showCursor(true)
guiSetInputEnabled(true)
end
)
addEventHandler('onClientGUIClick',root,
function ()
if ( source == GUIEditor.Button[5] ) then
guiSetText(GUIEditor.Window[1],"[AK-KSA]~سيرفر اكادمية الهجوله , رفع شباب تبوك~[AK-KSA]")
guiSetText(GUIEditor.Label[2],"آســم آلــمــســتــخــدم")
guiSetText(GUIEditor.Label[3],"كــلــمــة آلــمــرور")
guiSetText(GUIEditor.Button[2],"دخـول")
guiSetText(GUIEditor.Button[1],"تـسـجـيـل")
guiSetText(GUIEditor.Button[3],"زآئـر")
elseif ( source == GUIEditor.Button[4] ) then
guiSetText(GUIEditor.Window[1],"Welcome To Our Server AK-KSA")
guiSetText(GUIEditor.Label[2],"Username")
guiSetText(GUIEditor.Label[3],"Password")
guiSetText(GUIEditor.Button[2],"Login")
guiSetText(GUIEditor.Button[1],"Register")
guiSetText(GUIEditor.Button[3],"Guest")
elseif ( source == GUIEditor.Button[3] ) then
guiSetVisible(GUIEditor.Window[1],false)
showCursor(false)
guiSetInputEnabled(false)
elseif ( source == GUIEditor.Button[2] ) then
triggerServerEvent("onlogin",localPlayer,guiGetText(user),guiGetText(pass))
elseif ( source == GUIEditor.Button[1] ) then
triggerServerEvent("onre",localPlayer,guiGetText(user),guiGetText(pass))
end
end
)
addEvent("setcol",true)
addEventHandler("setcol",getRootElement(),
function ()
guiSetVisible(GUIEditor.window[1],false)
showCursor(false)
guiSetInputEnabled(false)
end
)
صوره للخطأ