Jump to content

لوحة تسجيل الدخول


Recommended Posts

:D الوحة اشتغلت معي تمام

وفتحت وسجلت

وعملت login

وكل شي

صوره.

http://www.m5zn.com/d/?16267336

http://www.m5zn.com/d/?16267332

كلينت

GUIEditor = { 
    checkbox = {}, 
    window = {}, 
    label = {} 
} 
  
local screenW, screenH = guiGetScreenSize() 
        GUIEditor.window[1] = guiCreateWindow((screenW - 218) / 2, (screenH - 240) / 2, 218, 240, "لوحة التسجيل", false) 
        guiWindowSetSizable(GUIEditor.window[1], false) 
        guiSetVisible(GUIEditor.window[1], false) 
        username = guiCreateEdit(9, 57, 105, 23, "", false, GUIEditor.window[1]) 
        password = guiCreateEdit(9, 103, 105, 23, "", false, GUIEditor.window[1]) 
        guiEditSetMasked(password, true) 
        GUIEditor.label[1] = guiCreateLabel(11, 42, 103, 15, "أسم الحساب", false, GUIEditor.window[1]) 
        guiSetFont(GUIEditor.label[1], "default-bold-small") 
        GUIEditor.label[2] = guiCreateLabel(11, 88, 103, 15, "كلمة المرور", false, GUIEditor.window[1]) 
        guiSetFont(GUIEditor.label[2], "default-bold-small") 
        login = guiCreateButton(19, 136, 95, 22, "دخول", false, GUIEditor.window[1]) 
        register = guiCreateButton(19, 168, 95, 22, "تسجيل", false, GUIEditor.window[1]) 
        closee  = guiCreateButton(19, 200, 95, 22, "أغلاق", false, GUIEditor.window[1]) 
        
         GUIEditor.checkbox[1] = guiCreateCheckBox(118, 107, 17, 15, "", false, false, GUIEditor.window[1]) 
        GUIEditor.label[3] = guiCreateLabel(138, 104, 70, 18, "أظهار الكلمة", false, GUIEditor.window[1]) 
        guiSetFont(GUIEditor.label[3], "default-bold-small")           
  
  
  
  
addEventHandler("onClientGUIClick",root, 
function () 
if source == login then 
local uss,passs = guiGetText(username),guiGetText(password) 
triggerServerEvent("onLogin",localPlayer,uss,passs) 
elseif source == register then 
local uss,passs = guiGetText(username),guiGetText(password) 
triggerServerEvent("onReg",localPlayer,uss,passs) 
end 
end 
) 
  
addEvent("Hidewindow",true) 
addEventHandler("Hidewindow",root, 
function () 
guiSetVisible(GUIEditor.window[1],false) 
showCursor(false) 
showChat(true) 
fadeCamera(true,5) 
setCameraTarget (localPlayer) 
end 
) 
  
addEvent("show",true) 
addEventHandler("show",root, 
function () 
guiSetVisible(GUIEditor.window[1],true) 
showCursor(true) 
showChat(true) 
end 
) 
  

سرفر

addEvent("onLogin", true) 
addEventHandler("onLogin",root, 
    function (user, pass) 
        local account = getAccount ( user, pass ) 
    if ( account ~= true ) then 
   local log = logIn (source,account,pass) 
   if log then 
            outputChatBox ( "You Logged in Sucessfuly!", source, 255, 255, 0 , true ) 
            triggerClientEvent (source, "Hidewindow", source) 
        else 
            outputChatBox ( "Login Error!", source, 255, 0, 0 ) 
        end 
    else 
        outputChatBox ( "Wrong username or password!", source, 255, 0, 0 ) 
    end 
    end 
) 
-- 
addEvent("onReg", true) 
addEventHandler("onReg",root, 
    function (user, pass) 
    if not getAccount (user,pass) then 
local acc = addAccount (user,pass) 
if acc then 
local account = getAccount ( user, pass ) 
outputChatBox ("You've registered successfully!",source,0,255,0) 
else 
outputChatBox ("Error creating account !",source,255,0,0) 
end 
else 
outputChatBox ("This account is already exists !",source,255,0,0) 
end 
end 
) 
  
 addEventHandler ("onPlayerJoin",root, 
 function () 
 l = source 
 repeat until setTimer(function() 
 triggerClientEvent (l,"show",l) 
 end,2000,1) 
 end 
 ) 
  
Link to comment
  • Replies 75
  • Created
  • Last Reply

Top Posters In This Topic

روح لجروب ادمن و ضيف فيه كانك هتعطي واحد ادم بس ضيف دي

resource.اسم المود

غلط.

تخش علي الاسل

Manage Acl

ثم

ACL:

ثم

Default

وتضعط عليها جامد

ثم add Right

بعدين

تكتب

funtcion.addAccount

انا جربتها واشتغلت

مع كلام DTC12 .

Link to comment
روح لجروب ادمن و ضيف فيه كانك هتعطي واحد ادم بس ضيف دي

resource.اسم المود

غلط.

تخش علي الاسل

Manage Acl

ثم

ACL:

ثم

Default

وتضعط عليها جامد

ثم add Right

بعدين

تكتب

funtcion.addAccount

انا جربتها واشتغلت

مع كلام DTC12 .

Link to comment

عندي لوحة

الي يقدر يسويها اعتبره امبراطور البرمجة ههههههههه

شوفوا انا سويت لوحة تسجيل دخول دي اكس وكل شي تمام

لكن الليبل يجي تحت dxDrawRectangle

واستخدمت guiBringToFront

ما في فايدة

شوفوا واستمتعوا :]

function dd() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
    end 
addEventHandler("onClientRender", root,dd)function dd() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
    end 
addEventHandler("onClientRender", root,dd) 

addEventHandler ("onClientResourceStart",root, 
function () 
  
   
addEventHandler("onClientRender", root,dd) 
    guiBringToFront (GUIEditor.label[1]) 
    guiBringToFront (GUIEditor.label[2]) 
    guiBringToFront (GUIEditor.label[8]) 
    guiBringToFront (GUIEditor.label[9]) 
    guiBringToFront (GUIEditor.label[11]) 
    guiBringToFront (GUIEditor.label[12]) 
    guiBringToFront (GUIEditor.label[13]) 
    guiBringToFront (GUIEditor.label[14]) 
    guiBringToFront (c1) 
    guiBringToFront (GUIEditor.edit[1]) 
    guiBringToFront (GUIEditor.edit[2]) 
    guiBringToFront (GUIEditor.radiobutton[1]) 
    guiBringToFront (GUIEditor.radiobutton[2]) 
    guiBringToFront (GUIEditor.staticimage[1]) 
    guiBringToFront (GUIEditor.staticimage[2]) 
  
  
  
end 
) 

سويت مليون طريقة لدرجه جلست ساعه امخمخ عليها ما في منها فايدة الي يحلها يكون امبراطور ضض

وذي سويتها dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false)

لtrue

للعلم وراء اللوحة صورة شاشة

مشان كذا المشاكل كثيرة

يا ريت تشوفون حل جذري

Link to comment

عندي لوحة

الي يقدر يسويها اعتبره امبراطور البرمجة ههههههههه

شوفوا انا سويت لوحة تسجيل دخول دي اكس وكل شي تمام

لكن الليبل يجي تحت dxDrawRectangle

واستخدمت guiBringToFront

ما في فايدة

شوفوا واستمتعوا :]

function dd() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
    end 
addEventHandler("onClientRender", root,dd)function dd() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
    end 
addEventHandler("onClientRender", root,dd) 

addEventHandler ("onClientResourceStart",root, 
function () 
  
   
addEventHandler("onClientRender", root,dd) 
    guiBringToFront (GUIEditor.label[1]) 
    guiBringToFront (GUIEditor.label[2]) 
    guiBringToFront (GUIEditor.label[8]) 
    guiBringToFront (GUIEditor.label[9]) 
    guiBringToFront (GUIEditor.label[11]) 
    guiBringToFront (GUIEditor.label[12]) 
    guiBringToFront (GUIEditor.label[13]) 
    guiBringToFront (GUIEditor.label[14]) 
    guiBringToFront (c1) 
    guiBringToFront (GUIEditor.edit[1]) 
    guiBringToFront (GUIEditor.edit[2]) 
    guiBringToFront (GUIEditor.radiobutton[1]) 
    guiBringToFront (GUIEditor.radiobutton[2]) 
    guiBringToFront (GUIEditor.staticimage[1]) 
    guiBringToFront (GUIEditor.staticimage[2]) 
  
  
  
end 
) 

سويت مليون طريقة لدرجه جلست ساعه امخمخ عليها ما في منها فايدة الي يحلها يكون امبراطور ضض

وذي سويتها dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false)

لtrue

للعلم وراء اللوحة صورة شاشة

مشان كذا المشاكل كثيرة

يا ريت تشوفون حل جذري

Link to comment
  
function dd() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
    end 
addEventHandler("onClientRender", root,dd) 
function ddd() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
    end 
addEventHandler("onClientRender", root,ddd) 
  

جرب

Link to comment
  
function dd() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
    end 
addEventHandler("onClientRender", root,dd) 
function ddd() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
    end 
addEventHandler("onClientRender", root,ddd) 
  

جرب

Link to comment
  
function dd() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
    end 
addEventHandler("onClientRender", root,dd) 
function ddd() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
    end 
addEventHandler("onClientRender", root,ddd) 
  

جرب

function dd() 

وهنا

addEventHandler("onClientRender", root,ddd) 
  

:shock:

Link to comment
  
function dd() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
    end 
addEventHandler("onClientRender", root,dd) 
function ddd() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
    end 
addEventHandler("onClientRender", root,ddd) 
  

جرب

function dd() 

وهنا

addEventHandler("onClientRender", root,ddd) 
  

:shock:

Link to comment

اعذرني اخ واي فاي

ما شفت التحت ان فيه 2 فكشن @_@

حرب ذا

function DX() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
 end 
addEventHandler("onClientRender", root,DX) 
  
  
  
function DX2() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
end 
addEventHandler("onClientRender", root,DX2) 
  

Link to comment

اعذرني اخ واي فاي

ما شفت التحت ان فيه 2 فكشن @_@

حرب ذا

function DX() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
 end 
addEventHandler("onClientRender", root,DX) 
  
  
  
function DX2() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, dxfont0_Zombified, "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
end 
addEventHandler("onClientRender", root,DX2) 
  

Link to comment
local screenW, screenH = guiGetScreenSize() 
function dd() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
    end 
    function dd2() 
        dxDrawLine(406 - 1, 244 - 1, 406 - 1, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 244 - 1, 406 - 1, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(406 - 1, 716, 875, 716, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawLine(875, 716, 875, 244 - 1, tocolor(0, 0, 0, 255), 1, false) 
        dxDrawRectangle((screenW - 469) / 2, (screenH - 472) / 2, 469, 472, tocolor(0, 0, 0, 170), false) 
        dxDrawRectangle(406, 244, 469, 48, tocolor(211, 89, 15, 255), false) 
        dxDrawText("Login", 599, 248, 809, 292, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) 
        dxDrawLine(652, 352, 652, 677, tocolor(255, 255, 255, 255), 1, false) 
        dxDrawRectangle(432, 635, 199, 52, tocolor(211, 89, 15, 255), false) 
        dxDrawRectangle(666, 489, 199, 52, tocolor(211, 89, 15, 255), false) 
    end 
addEventHandler("onClientRender", root,dd) 
addEventHandler("onClientRender", root,dd2) 

Edited by Guest
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...