KinG_DrifT Posted December 6, 2012 Share Posted December 6, 2012 لا تعليق واضح من العنوان GUIEditor_Window = {} GUIEditor_Window[1] = guiCreateWindow(411,177,421,234,"More . . .",false) guiSetVisible(GUIEditor_Window[1], false) base = guiCreateButton(0.0214,0.0983,0.3135,0.4188,"To Base",true,GUIEditor_Window[1]) guiSetFont(base,"default-bold-small") armor = guiCreateButton(0.342,0.0983,0.3135,0.4188,"Armor",true,GUIEditor_Window[1]) guiSetFont(armor,"default-bold-small") heal = guiCreateButton(0.6603,0.0983,0.3135,0.4188,"Health",true,GUIEditor_Window[1]) guiSetFont(heal,"default-bold-small") staff = guiCreateButton(0.0238,0.5299,0.3135,0.4188,"Go Staff Team",true,GUIEditor_Window[1]) guiSetFont(staff,"default-bold-small") jail = guiCreateButton(0.3444,0.5342,0.3135,0.4017,"Jail Panel",true,GUIEditor_Window[1]) guiSetFont(jail,"default-bold-small") if guiGetVisible ( GUIEditor_Window[1] ) then guiSetVisible ( GUIEditor_Window[1], false ) showCursor ( false ) else guiSetVisible ( GUIEditor_Window[1], true ) showCursor ( true ) end end bindKey("F3", "down", showUserPanel) addEventHandler("onClientGUIClick", root, function() if source == base then setElementPosition ( getLocalPlayer(), -1755.81, 955.94, 24.74 ) end end) Link to comment
iPrestege Posted December 6, 2012 Share Posted December 6, 2012 طيب؟ + وش تبي نسوي بالضبط عارض الكود بس ؟؟؟ Link to comment
KinG_DrifT Posted December 6, 2012 Author Share Posted December 6, 2012 الكود مدري وشش فيه فيه خطـآ بس ^_ Link to comment
abu5lf Posted December 6, 2012 Share Posted December 6, 2012 ناقص عندك فنشكن function showUserPanel( ) حطها في السطر 15 في الكود Link to comment
iPrestege Posted December 6, 2012 Share Posted December 6, 2012 -- Client Side GUIEditor_Window = {} GUIEditor_Window[1] = guiCreateWindow(411,177,421,234,"More . . .",false) guiSetVisible(GUIEditor_Window[1], false) base = guiCreateButton(0.0214,0.0983,0.3135,0.4188,"To Base",true,GUIEditor_Window[1]) guiSetFont(base,"default-bold-small") armor = guiCreateButton(0.342,0.0983,0.3135,0.4188,"Armor",true,GUIEditor_Window[1]) guiSetFont(armor,"default-bold-small") heal = guiCreateButton(0.6603,0.0983,0.3135,0.4188,"Health",true,GUIEditor_Window[1]) guiSetFont(heal,"default-bold-small") staff = guiCreateButton(0.0238,0.5299,0.3135,0.4188,"Go Staff Team",true,GUIEditor_Window[1]) guiSetFont(staff,"default-bold-small") jail = guiCreateButton(0.3444,0.5342,0.3135,0.4017,"Jail Panel",true,GUIEditor_Window[1]) guiSetFont(jail,"default-bold-small") guiSetVisible(GUIEditor_Window[1],false) bindKey ( "F3" , "down" , function() if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor (false ) elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then guiSetVisible ( GUIEditor_Window[1] ,true ) showCursor (false ) end end ) addEventHandler("onClientGUIClick", root, function () if source == base then setElementPosition(localPlayer,-1755.81,955.94,24.74) end end) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now