Jump to content

طلب كود


mR.Z

Recommended Posts

بسم الله الرحمن الرحيم

السلام عليكم ورحمته الله وبركاته

انا صمم لوحه ترقيات وبقي الاكواد وطبعا انا ماعرف للاكواد :cry:

واتمنى اعطائي كود كامل بس ابيه اذا احد اخذ رتبه تروح الرتبه الاولى وتجي الجديده+اذا كان معه رتبه مخالف Admin-Ex مايقدر ياخذ رتبه

وشكرا

Link to comment

الكود الوحيد الي عندي هوا حق الوحه تفضل :)

  
GUIEditor = { 
    button = {}, 
    window = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.window[1] = guiCreateWindow(471, 163, 418, 388, "ساعات الرتب", false) 
        guiWindowSetSizable(GUIEditor.window[1], false) 
        guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") 
  
        GUIEditor.button[1] = guiCreateButton(116, 303, 177, 51, " اختيار الرتبة", false, GUIEditor.window[1]) 
        guiSetFont(GUIEditor.button[1], "sa-gothic") 
        guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF012AFC") 
        GUIEditor.button[2] = guiCreateButton(15, 37, 83, 45, "شرطي", false, GUIEditor.window[1]) 
        GUIEditor.button[3] = guiCreateButton(311, 37, 83, 45, "اسم الرتبه", false, GUIEditor.window[1]) 
        GUIEditor.button[4] = guiCreateButton(213, 37, 83, 45, "اسم الرتبه", false, GUIEditor.window[1]) 
        GUIEditor.button[5] = guiCreateButton(114, 37, 83, 45, "اسم الرتبه", false, GUIEditor.window[1]) 
        GUIEditor.button[6] = guiCreateButton(311, 92, 83, 45, "اسم الرتبه", false, GUIEditor.window[1]) 
        GUIEditor.button[7] = guiCreateButton(213, 92, 83, 45, "اسم الرتبه", false, GUIEditor.window[1]) 
        GUIEditor.button[8] = guiCreateButton(114, 92, 83, 45, "اسم الرتبه", false, GUIEditor.window[1]) 
        GUIEditor.button[9] = guiCreateButton(15, 92, 83, 45, "اسم الرتبه", false, GUIEditor.window[1]) 
        GUIEditor.button[10] = guiCreateButton(15, 147, 83, 45, "اسم الرتبه", false, GUIEditor.window[1]) 
        GUIEditor.button[11] = guiCreateButton(114, 147, 83, 45, "اسم الرتبه", false, GUIEditor.window[1]) 
        GUIEditor.button[12] = guiCreateButton(213, 147, 83, 45, "اسم الرتبه", false, GUIEditor.window[1]) 
        GUIEditor.button[13] = guiCreateButton(311, 147, 83, 45, "اسم الرتبه", false, GUIEditor.window[1]) 
        GUIEditor.button[14] = guiCreateButton(311, 202, 83, 45, "اسم الرتبه", false, GUIEditor.window[1]) 
        GUIEditor.button[15] = guiCreateButton(213, 202, 83, 45, "اسم الرتبه", false, GUIEditor.window[1]) 
        GUIEditor.button[16] = guiCreateButton(114, 202, 83, 45, "اسم الرتبه", false, GUIEditor.window[1]) 
        GUIEditor.button[17] = guiCreateButton(15, 202, 83, 45, "اسم الرتبه", false, GUIEditor.window[1])     
    end 
) 
  

Link to comment

يخوي

اانت جايب اللوحة بس

وتبيني اسوي لك الباقي

ماتصير

يخوي حاول واحنا نصلح

استخدم الفنكشنات هذي (لرؤية مثال اضغط علية)

Client

"onClientGUIClick" 
triggerServerEvent 

Server

aclGroupAddObject 
isObjectInACLGroup 
-- لتتحقق من الوقت 
getElementData 
-- لتحقق من الفلوس 
getPlayerMoney 
takePlayerMoney 

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