Jump to content

السلام عليكم ممكن مساعده


Recommended Posts

السلام عليكم

كيف الحال ؟ انشالله بخير

انا سويت مود او سكربت

بس فيه مشكله جتني

مدري وش هي بس المود موجود في السيرفر و يمديني اشغله بس المشكله ما يعمل

الاكواد

--[[------------------------------------------------- 
Notes: 
  
> This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running. 
    To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there. 
--]]------------------------------------------------- 
GUIEditor = { 
    button = {}, 
    window = {}, 
    staticimage = {} 
} 
            bindKey ( "F2", "down", open ) 
            end 
function VIPMENUTRIGGER ( thePlayer , commandName ) 
   local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) 
   if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then  
   triggerClientEvent ( thePlayer, "GUIVIP", thePlayer) 
   else 
   outputChatBox ( "انت لست vip",thePlayer) 
   end 
 end 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.window[1] = guiCreateWindow(325, 153, 511, 499, "", false) 
        guiWindowSetSizable(GUIEditor.window[1], false) 
  
        GUIEditor.staticimage[1] = guiCreateStaticImage(413, 26, 88, 183, "img/skin.png", false, GUIEditor.window[1]) 
        GUIEditor.staticimage[2] = guiCreateStaticImage(267, 26, 88, 185, "img/skin4.png", false, GUIEditor.window[1]) 
        GUIEditor.staticimage[3] = guiCreateStaticImage(142, 29, 88, 182, "img/skin2.png", false, GUIEditor.window[1]) 
        GUIEditor.staticimage[4] = guiCreateStaticImage(10, 26, 94, 185, "img/skin3.png", false, GUIEditor.window[1]) 
        S = guiCreateButton(14, 232, 80, 51, "SKIN1", false, GUIEditor.window[1]) 
        guiSetProperty(S, "ID", "285") 
        guiSetProperty(S, "TabButtonType", "") 
        GUIEditor.button[1] = guiCreateButton(275, 232, 80, 51, "SKIN3", false, GUIEditor.window[1]) 
        GUIEditor.button[2] = guiCreateButton(150, 232, 80, 51, "SKIN2", false, GUIEditor.window[1]) 
        GUIEditor.button[3] = guiCreateButton(411, 232, 80, 51, "FOR V.I.P", false, GUIEditor.window[1]) 
        guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFD92532")     
    end 
        addEventHandler("onClientGUIClick",getRootElement(), 
        function () 
            if ( source == GUIEditor_Button[1] ) then 
                BuyWeapon(1000,30,1000,"AK47") 
            elseif ( source == GUIEditor_Button[2] ) then 
                BuyWeapon(1500,31,1000,"M4") 
            end 
        end 
) 
  

هذي الاكواد اتمنا انكم تساعدوني

و وشكو عليها لا اهنتم وانا شاك ان الخطء في الاكواد

Link to comment

* كل الردود الثلاث اللي فوق بالعربي عندك مساعدة قلها

تجي تسخر من واحد مبتدئ تراك كنت مثله واذا تبي تزود مشاركتك

رح للمنتدى العام

بالنسبة لصاحب الموضوع هل فيه اخطاء

/debugscript 3

وايضا انت في سطر ١٤ الى ٢١ مستخدم وظايف سيرفر في كلنت

واتمنى تحط اكواد كاملة سيرفر وكلنت

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