Jump to content

help (DXdraw)


VanDal

Recommended Posts

Posted

hi guys i have problem here i script a login with the guieditoir with dxdraw and i dont know now how i will make it a script i mean whene i take the file and i add meta script show but whene i start it nothing its just work if i make it in the gui editoir.

this is photo for it, plz i need fast answer and thank you.

http://prntscr.com/67zffy

Posted

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 
) 

Posted

start: Resource 'login' started 
[19:34:42] SCRIPT: CripZ-H>TurBox(Slugx) set his script debug mode to 3 
debugscript: Your debug mode was set to 3 

nothing :/

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