1REDBULL Posted April 5, 2014 Share Posted April 5, 2014 السلام عليكم كيف الحال ؟ انشالله بخير انا سويت مود او سكربت بس فيه مشكله جتني مدري وش هي بس المود موجود في السيرفر و يمديني اشغله بس المشكله ما يعمل الاكواد --[[------------------------------------------------- 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
G.KinG Posted April 5, 2014 Share Posted April 5, 2014 سيرفر مع كلنت ؟ وش هاللحسه .__________. Link to comment
abu5lf Posted April 6, 2014 Share Posted April 6, 2014 * كل الردود الثلاث اللي فوق بالعربي عندك مساعدة قلها تجي تسخر من واحد مبتدئ تراك كنت مثله واذا تبي تزود مشاركتك رح للمنتدى العام بالنسبة لصاحب الموضوع هل فيه اخطاء /debugscript 3 وايضا انت في سطر ١٤ الى ٢١ مستخدم وظايف سيرفر في كلنت واتمنى تحط اكواد كاملة سيرفر وكلنت Link to comment
™!>VàLéNTiNô<!™ Posted April 6, 2014 Share Posted April 6, 2014 انا ماسخر منه انا امزح عادى مو سخرية شوف ال67 بوست حقى لو لقيت سخرية واحده كلمنى 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