Jump to content

تصحيح كود :)


Recommended Posts

الحين انا سويت لوحه ... لسا مابرمجتها المهم , انا الحين مسوي انها تفتح من لوحه اخري من زر تمام؟ سويت الزر وكل شي تمام والوحه تفتح بس لم اجي اقفلها تنقفل والمؤشر حق الماوس مايروح 

الاكواد :|

addEventHandler( "onClientGUIClick", root,
function( )
if ( source == close_ ) then
guiSetVisible(  wnd_manager , false)
showCursor( false )
end
end )





---------------------------




addEventHandler("onClientResourceStart", resourceRoot,
    function()
        wnd_manager = guiCreateWindow(171, 190, 406, 328, "Management System", false)
        guiWindowSetSizable(wnd_manager, false)
        guiSetAlpha(wnd_manager, 1.00)
 		guiSetVisible(wnd_manager,false)
        gridlist2 = guiCreateGridList(9, 20, 155, 300, false, wnd_manager)
        guiGridListAddColumn(gridlist2, "Account", 0.5)
        guiGridListAddColumn(gridlist2, "Diamond", 0.5)
        guiGridListAddRow(gridlist2)
        guiGridListSetItemText(gridlist2, 0, 1, "", false, false)
        guiGridListSetItemText(gridlist2, 0, 2, "", false, false)
        delete = guiCreateButton(170, 40, 222, 30, "Delete Diamond Player", false, wnd_manager)
        guiSetProperty(delete, "NormalTextColour", "FFFB4903")
        show = guiCreateButton(170, 76, 222, 30, "Show All Diamond And Account Chat", false, wnd_manager)
        guiSetProperty(show, "NormalTextColour", "FFFB4903")    
        close_ = guiCreateButton(323, 271, 73, 47, "Close", false, wnd_manager)
        guiSetFont(close_, "sa-header")
        guiSetProperty(close_, "NormalTextColour", "FFFF0000")    
    end
)

 

Link to comment
15 minutes ago, #AL-J7EEEM said:

الحين انا سويت لوحه ... لسا مابرمجتها المهم , انا الحين مسوي انها تفتح من لوحه اخري من زر تمام؟ سويت الزر وكل شي تمام والوحه تفتح بس لم اجي اقفلها تنقفل والمؤشر حق الماوس مايروح 

الاكواد :|


addEventHandler( "onClientGUIClick", root,
function( )
if ( source == close_ ) then
guiSetVisible(  wnd_manager , false)
showCursor( false )
end
end )





---------------------------




addEventHandler("onClientResourceStart", resourceRoot,
    function()
        wnd_manager = guiCreateWindow(171, 190, 406, 328, "Management System", false)
        guiWindowSetSizable(wnd_manager, false)
        guiSetAlpha(wnd_manager, 1.00)
 		guiSetVisible(wnd_manager,false)
        gridlist2 = guiCreateGridList(9, 20, 155, 300, false, wnd_manager)
        guiGridListAddColumn(gridlist2, "Account", 0.5)
        guiGridListAddColumn(gridlist2, "Diamond", 0.5)
        guiGridListAddRow(gridlist2)
        guiGridListSetItemText(gridlist2, 0, 1, "", false, false)
        guiGridListSetItemText(gridlist2, 0, 2, "", false, false)
        delete = guiCreateButton(170, 40, 222, 30, "Delete Diamond Player", false, wnd_manager)
        guiSetProperty(delete, "NormalTextColour", "FFFB4903")
        show = guiCreateButton(170, 76, 222, 30, "Show All Diamond And Account Chat", false, wnd_manager)
        guiSetProperty(show, "NormalTextColour", "FFFB4903")    
        close_ = guiCreateButton(323, 271, 73, 47, "Close", false, wnd_manager)
        guiSetFont(close_, "sa-header")
        guiSetProperty(close_, "NormalTextColour", "FFFF0000")    
    end
)

 

تأكد انك قافل

guiEditor

+ ضيف الكود هذا

guiSetInputEnabled(false)

 

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