Jump to content

help (DXdraw)


VanDal

Recommended Posts

i do this mate its show in the p panl but when i start it not work just if i make it on gui editoir script.

its just like this inside :

GUIEditor = { 
    edit = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.edit[1] = guiCreateEdit(391, 300, 300, 36, "", false) 
  
  
        GUIEditor.edit[2] = guiCreateEdit(391, 458, 300, 36, "", false) 
  
  
        GUIEditor.edit[3] = guiCreateEdit(391, 380, 300, 36, "", false)     
    end 
) 
  
addEventHandler("onClientRender", root, 
    function() 
        dxDrawRectangle(213, 132, 546, 487, tocolor(0, 0, 0, 147), false) 
        dxDrawLine(213, 238, 757, 238, tocolor(19, 218, 206, 255), 1, true) 
        dxDrawText("-- TNIG Register Panel --", 251, 170, 717, 219, tocolor(27, 235, 222, 255), 1.20, "bankgothic", "left", "top", false, false, true, false, false) 
        dxDrawText("Username :", 227, 300, 376, 336, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, true, false, false) 
        dxDrawText("Confirm Password :", 227, 458, 376, 494, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, true, false, false) 
        dxDrawText("Password :", 227, 380, 376, 416, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, true, false, false) 
        dxDrawRectangle(213, 571, 174, 48, tocolor(27, 235, 222, 185), true) 
        dxDrawRectangle(585, 571, 174, 48, tocolor(27, 235, 222, 185), true) 
        dxDrawText("Welcome !!", 239, 576, 381, 601, tocolor(0, 0, 0, 255), 1.20, "diploma", "left", "top", false, false, true, false, false) 
        dxDrawText("Cancel", 624, 575, 754, 599, tocolor(0, 0, 0, 255), 1.20, "diploma", "left", "top", false, false, true, false, false) 
    end 
) 

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...