Adham Posted March 21, 2016 Posted March 21, 2016 (edited) شو المشكله ب الكود ذا .؟ الكود عباره عن تضعط زر يطلع لك سلاح client addEventHandler ( "onClientGUIClick", root, function () -- نسوي الفنشكن if (source == GUIEditor.button[1] ) then -- triggerServerEvent ( "Give", localPlayer,) end end ) سرفر - addEvent ( "Give", true ) addEventHandler ("Give", root, function () giveWepon ( source , 31 , 200 ) end ) Edited March 21, 2016 by Guest
iMr.WiFi..! Posted March 21, 2016 Posted March 21, 2016 (edited) Delete > Edited March 21, 2016 by Guest
#Mr.Rajo~,< Posted March 21, 2016 Posted March 21, 2016 (edited) addEventHandler ( "onClientGUIClick", root, function () -- نسوي الفنشكن if (source == GUIEditor.button[1] ) then -- triggerServerEvent ( "Give", localPlayer) end end ) addEvent ( "Give", true ) addEventHandler ("Give", root, function () giveWeapon ( source , 31 , 200 ) end ) بعد لوكال بلاير حاط فاصله هذا اول خطأ والثاني خطأك في اسم الفنكشن كان giveWepon والصح giveWeapon Edited March 21, 2016 by Guest
#Mr.Rajo~,< Posted March 21, 2016 Posted March 21, 2016 ما تطلع الوحه من اساساامسح الكود تفتح . حط كودك كامل
Adham Posted March 21, 2016 Author Posted March 21, 2016 كلينت . GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(151, 132, 482, 359, "##", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1] ,false) -- عدم اظهار الوحة وقت تشغيل المود GUIEditor.button[1] = guiCreateButton(135, 169, 242, 59, "Give", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") end ) -- bindKey("x","down", function ( ) guiSetVisible ( GUIEditor.window[1] , not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( not isCursorShowing ( ) ) end ); addEventHandler ( "onClientGUIClick", root, function () -- نسوي الفنشكن if (source == GUIEditor.button[1] ) then -- triggerServerEvent ( "Give", localPlayer,) end end ) سرفر - addEvent ( "Give", true ) addEventHandler ("Give", root, function () giveWeapon ( source , 31 , 200 ) end )
#Mr.Rajo~,< Posted March 21, 2016 Posted March 21, 2016 (edited) GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(151,132 , 482, 359, "##", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1] ,false) -- عدم اظهار الوحة وقت تشغيل المود GUIEditor.button[1] = guiCreateButton(135, 169, 242, 59, "Give", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") end ) -- bindKey("x","down", function ( ) guiSetVisible ( GUIEditor.window[1] , not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( not isCursorShowing ( ) ) end ) addEventHandler ( "onClientGUIClick", root, function () -- نسوي الفنشكن if (source == GUIEditor.button[1] ) then -- triggerServerEvent ( "Give", localPlayer) end end) Edited March 21, 2016 by Guest
iMr.WiFi..! Posted March 21, 2016 Posted March 21, 2016 كلينت . GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(151, 132, 482, 359, "##", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1] ,false) -- عدم اظهار الوحة وقت تشغيل المود GUIEditor.button[1] = guiCreateButton(135, 169, 242, 59, "Give", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") end ) -- bindKey("x","down", function ( ) guiSetVisible ( GUIEditor.window[1] , not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( not isCursorShowing ( ) ) end ); addEventHandler ( "onClientGUIClick", root, function () -- نسوي الفنشكن if (source == GUIEditor.button[1] ) then -- triggerServerEvent ( "Give", localPlayer,) end end ) سرفر - addEvent ( "Give", true ) addEventHandler ("Give", root, function () giveWeapon ( source , 31 , 200 ) end ) خوينا كوده سليم شوف ذذ الكود كلينت . GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(151, 132, 482, 359, "##", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1] ,false) -- عدم اظهار الوحة وقت تشغيل المود GUIEditor.button[1] = guiCreateButton(135, 169, 242, 59, "Give", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") end ) -- bindKey("x","down") function ( ) guiSetVisible ( GUIEditor.window[1] , not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( not isCursorShowing ( ) ) end ) addEventHandler ( "onClientGUIClick", root, function () -- نسوي الفنشكن if (source == GUIEditor.button[1] ) then -- triggerServerEvent ( "Give", localPlayer,) end end ) سرفر - addEvent ( "Give", true ) addEventHandler ("Give", root, function () giveWeapon ( source , 31 , 200 ) end ) المشاكل وحلولها : في سطر 15 القوس مو مقفل في سطر 23 في ; زايدة
#Mr.Rajo~,< Posted March 21, 2016 Posted March 21, 2016 كلينت . GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(151, 132, 482, 359, "##", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1] ,false) -- عدم اظهار الوحة وقت تشغيل المود GUIEditor.button[1] = guiCreateButton(135, 169, 242, 59, "Give", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") end ) -- bindKey("x","down", function ( ) guiSetVisible ( GUIEditor.window[1] , not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( not isCursorShowing ( ) ) end ); addEventHandler ( "onClientGUIClick", root, function () -- نسوي الفنشكن if (source == GUIEditor.button[1] ) then -- triggerServerEvent ( "Give", localPlayer,) end end ) سرفر - addEvent ( "Give", true ) addEventHandler ("Give", root, function () giveWeapon ( source , 31 , 200 ) end ) خوينا كوده سليم شوف ذذ الكود كلينت . [lua]GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(151, 132, 482, 359, "##", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1] ,false) -- عدم اظهار الوحة وقت تشغيل المود GUIEditor.button[1] = guiCreateButton(135, 169, 242, 59, "Give", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") end ) -- bindKey("x","down") function ( ) guiSetVisible ( GUIEditor.window[1] , not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( not isCursorShowing ( ) ) end ) addEventHandler ( "onClientGUIClick", root, function () -- نسوي الفنشكن if (source == GUIEditor.button[1] ) then -- triggerServerEvent ( "Give", localPlayer,) end end ) المشاكل وحلولها : في سطر 15 القوس مو مقفل في سطر 23 في ; زايدة bindKey("x","down") ؟؟؟؟ bindKey ( string key, string keyState, function handlerFunction, [ var arguments, ... ] ) + ال ; ماتفرق وجودها كعدمها ولا بتأثر وتسخدم اتوقع بطريقة opp االاخطاء حقته بعد لوكال بلاير حاط فاصله الخطأ الثاني اسم الفنكشن بسيرفر سايبد
iMr.WiFi..! Posted March 21, 2016 Posted March 21, 2016 أعتذذر .. انا مم اشوف الويكي كثير .. و تركت انا البرمجة ل فتره وبعدين رجعت فترره طويلة جداً من يوم كان تحديث اللعبه 1.3.1
#Mr.Rajo~,< Posted March 21, 2016 Posted March 21, 2016 أعتذذر ..انا مم اشوف الويكي كثير .. و تركت انا البرمجة ل فتره وبعدين رجعت فترره طويلة جداً من يوم كان تحديث اللعبه 1.3.1 لاعاد تكررها :@ امزح بالنسبه لراعي الموضوع تأكد انك رافع الملفات والميتا والاكواد الجديده :"|
Adham Posted March 21, 2016 Author Posted March 21, 2016 ما فتحت الالوحه اصلن اجي اشيل الكود في كلنت تفتح عادي.
Ahmed Ly Posted March 21, 2016 Posted March 21, 2016 GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(151, 132, 482, 359, "##", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1] ,false) GUIEditor.button[1] = guiCreateButton(135, 169, 242, 59, "Give", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") guiSetVisible (GUIEditor.window[1], false) function open() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) end end bindKey("x", "down", open) function give_w_ () if (source == GUIEditor.button[1] ) then triggerServerEvent ( "Give", localPlayer) end end addEventHandler ( "onClientGUIClick", root,give_w_) function se () giveWeapon ( source , 31 , 200 ) end addEvent ( "Give", true ) addEventHandler ("Give", root,se)
#Mr.Rajo~,< Posted March 21, 2016 Posted March 21, 2016 انا مشغله عندي وشغال زي اللوز http://up.top4top.net/downloadf-807jzy1-zip.html خذ حمله وركبه ولاتعدل شئ
MrSAUD1 Posted March 22, 2016 Posted March 22, 2016 GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(151, 132, 482, 359, "##", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1] ,false) -- عدم اظهار الوحة وقت تشغيل المود GUIEditor.button[1] = guiCreateButton(135, 169, 242, 59, "Give", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") bindKey("x","down", function ( ) guiSetVisible ( GUIEditor.window[1] , not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( not isCursorShowing ( ) ) end ); addEventHandler ( "onClientGUIClick", root, function () -- نسوي الفنشكن if (source == GUIEditor.button[1] ) then -- triggerServerEvent ( "Give", localPlayer,) end end ) end ) اكيد ما يظهر الوحة , لنك حط الوحة في وضيفة ! فـ علشان كذا تخلي حدث عند تشغيل المود , على كل الكواد , جرب كذا و راح يضبط !!
iMr.WiFi..! Posted March 22, 2016 Posted March 22, 2016 addEventHandler ( "onClientGUIClick", root, function () -- نسوي الفنشكن if (source == GUIEditor.button[1] ) then -- triggerServerEvent ( "Give", localPlayer) end end ) جرب الكود ذذ
MrSAUD1 Posted March 22, 2016 Posted March 22, 2016 addEventHandler ( "onClientGUIClick", root, function () -- نسوي الفنشكن if (source == GUIEditor.button[1] ) then -- triggerServerEvent ( "Give", localPlayer) end end ) جرب الكود ذذ طيب وش سويت انت ؟
iMr.WiFi..! Posted March 22, 2016 Posted March 22, 2016 addEventHandler ( "onClientGUIClick", root, function () -- نسوي الفنشكن if (source == GUIEditor.button[1] ) then -- triggerServerEvent ( "Give", localPlayer) end end ) جرب الكود ذذ طيب وش سويت انت ؟ كان كذا triggerServerEvent ( "Give", localPlayer,) وشلت الفاصلة وصار كذا triggerServerEvent ( "Give", localPlayer) لانه قال المشكلة من الكود ..
#Mr.Rajo~,< Posted March 22, 2016 Posted March 22, 2016 انا جربت المود بعد ماعدلت عليه وشغال زي العسل اذن المشكله من عندك انت
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