
AmrOMohamed
Members-
Posts
230 -
Joined
-
Last visited
Everything posted by AmrOMohamed
-
كنت عايز مبرمج محترف لسيرفر MTA ويكون محترف في برمجة سيرفرات ديث متش بدقة عالية جدا ويكون يقبل وسيلة الدفع بطاقات ون كارد واذا كان مصري يقبل فودافون كروت او كاش #
-
لا ابيه ينزل كل سيارات اللي اشتراها لانه بيشتري سيارة تمام ممكن ينسي انه اشتري ويشتري ثاني وتروح الاولي
-
يعني قيم مود اللي في الخارج يكون فيه عدد يقول مثلا يفتح بعد كذا
-
في القيم مود وليس علي شاشة اخي
-
اريد عمل عد تنازلي في القيم مود عن افتتاح مثلا سيرفر او ماشبه ذالك كيف اعمله
-
الكود ذا يمنع انك تموت ماحد يقدر اي احد addEventHandler("onClientPlayerDamage", getLocalPlayer(), cancelEvent) لاكن مشكلة انه لو انتحر من فوق مايموت كيف اخليه لما ينتحر او ينط من فوق مبني عالي يموت ؟
-
بس في مشكلة بسيطة كذا اول مادخل ماركر مايظهر موس خالص بس بيظهر لوحة تب لما اريد اغلقها ؟؟ انا عايز اول مادخل الماركر يظهر موس عشان يمدني اتحكم في لوحة واحركها ولما ادوس اغلاق يروح موس
-
تمام ظبت بس انا ضفت كود الاغلاق GUIEditor = { memo = {}, button = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(245, 133, 560, 426, "شرح سيرفر برو جيمر بالكامل | Server ProGamer", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFE0000") guiSetVisible(GUIEditor.window[1],false) GUIEditor.button[1] = guiCreateButton(18, 36, 95, 43, "F1 | الأيفون", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(19, 86, 93, 38, "F2 | الخاص", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") GUIEditor.button[3] = guiCreateButton(20, 130, 92, 37, "F3 | المعرض", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFAAAAAA") GUIEditor.button[4] = guiCreateButton(19, 173, 95, 39, "F4 | مهمة القفزة", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA") GUIEditor.button[5] = guiCreateButton(19, 220, 97, 33, "F5 | ألدعم الفني", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFAAAAAA") GUIEditor.button[6] = guiCreateButton(19, 263, 95, 31, "F6 | الأنتقالات", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFAAAAAA") GUIEditor.button[7] = guiCreateButton(19, 300, 96, 33, "F7 | قائمة التوب", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFAAAAAA") GUIEditor.button[8] = guiCreateButton(19, 337, 97, 36, "F8 | الأوامر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[8], "NormalTextColour", "FFAAAAAA") GUIEditor.button[9] = guiCreateButton(19, 380, 98, 36, "F9 | القوانين", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[9], "NormalTextColour", "FFAAAAAA") GUIEditor.memo[1] = guiCreateMemo(122, 28, 417, 48, "الايفون تقدر منه تغير الجو تعرف معلومات خاص بك كاسريال والعنوان الخ تعديل التايم وعمل معادلة حسابية بكل سهولة من خلالل الالة الحاسبة .. ", false, GUIEditor.window[1]) GUIEditor.memo[2] = guiCreateMemo(119, 85, 421, 37, "الشات الخاص لو انت تريد ان تحدث شخص او صديق لديك فقط اضغط علي زر ثم ارسال له رساة", false, GUIEditor.window[1]) GUIEditor.memo[3] = guiCreateMemo(117, 131, 419, 36, "هذا الزر يمدك تتحكم في السيارة اللي اشترتها من المعرض تنزلها تسحبها ..إلخ", false, GUIEditor.window[1]) GUIEditor.memo[4] = guiCreateMemo(117, 175, 417, 33, "مهمة القفزة هي مهمة جديدة من نوعها وحصريا علي برو جيمر شرحها بالكامل في اف4", false, GUIEditor.window[1]) GUIEditor.memo[5] = guiCreateMemo(119, 221, 422, 32, "مايحتاج الي توضيح فهو صندوق الدعم اذا لديك سؤال او استفسار اطرحه ويجيبك الادمن اذا موجود", false, GUIEditor.window[1]) GUIEditor.memo[6] = guiCreateMemo(118, 265, 421, 32, "منها تقدر تنتقل من مكان الي مكان بكل سهولة ويسر فقط اختار مكان ويمكنك اغلاق النافذة", false, GUIEditor.window[1]) GUIEditor.memo[7] = guiCreateMemo(119, 300, 421, 44, "هذه القائمة تقدر تتعرف علي التوب المال والساعات ولفل والقتل اللي موجودين اونلاين فقط", false, GUIEditor.window[1]) GUIEditor.button[13] = guiCreateButton(167, 356, 282, 50, "إغلاق النافذة | Close Windows", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[13], "NormalTextColour", "FFAAAAAA") ------------------------------- local car = createMarker ( 204.35208129883, 1866.1594238281, 12.140625, "cylinder", 1.2999999523163, 225, 7, 59 ) addEventHandler('onClientMarkerHit', car, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then guiSetVisible(GUIEditor.window[1],true) showCursor( true ) guiSetInputEnabled(false) end end ) addEventHandler( "onClientGUIClick", button , function () guiSetVisible(window,true) showCursor(false,false) end ) addEventHandler("onClientGUIClick", resourceRoot , function( ) if ( source == GUIEditor.button[13] ) then guiSetVisible( GUIEditor.window[1] , false ) end end ); بس بعد لما اضغط يظهرلي موس ؟ كيف اشيله
-
لاكن لوحة ماتظهر مجرد لما اذهب للماركر يظهرلي الموس فقط
-
قلت لي سهلة
-
دا كود انا عملته يعني مجرد ماانا ادخل الماركر يطلع لي لوحة مشكلة عندي ان اول مفتح مود لوحة تظهر في وشي عالطول انا عايزها بس لما ادخل ماركر تظهر GUIEditor = { memo = {}, button = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(245, 133, 560, 426, "شرح سيرفر برو جيمر بالكامل | Server ProGamer", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFE0000") GUIEditor.button[1] = guiCreateButton(18, 36, 95, 43, "F1 | الأيفون", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(19, 86, 93, 38, "F2 | الخاص", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") GUIEditor.button[3] = guiCreateButton(20, 130, 92, 37, "F3 | المعرض", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFAAAAAA") GUIEditor.button[4] = guiCreateButton(19, 173, 95, 39, "F4 | مهمة القفزة", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA") GUIEditor.button[5] = guiCreateButton(19, 220, 97, 33, "F5 | ألدعم الفني", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFAAAAAA") GUIEditor.button[6] = guiCreateButton(19, 263, 95, 31, "F6 | الأنتقالات", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFAAAAAA") GUIEditor.button[7] = guiCreateButton(19, 300, 96, 33, "F7 | قائمة التوب", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFAAAAAA") GUIEditor.button[8] = guiCreateButton(19, 337, 97, 36, "F8 | الأوامر", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[8], "NormalTextColour", "FFAAAAAA") GUIEditor.button[9] = guiCreateButton(19, 380, 98, 36, "F9 | القوانين", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[9], "NormalTextColour", "FFAAAAAA") GUIEditor.memo[1] = guiCreateMemo(122, 28, 417, 48, "الايفون تقدر منه تغير الجو تعرف معلومات خاص بك كاسريال والعنوان الخ تعديل التايم وعمل معادلة حسابية بكل سهولة من خلالل الالة الحاسبة .. ", false, GUIEditor.window[1]) GUIEditor.memo[2] = guiCreateMemo(119, 85, 421, 37, "الشات الخاص لو انت تريد ان تحدث شخص او صديق لديك فقط اضغط علي زر ثم ارسال له رساة", false, GUIEditor.window[1]) GUIEditor.memo[3] = guiCreateMemo(117, 131, 419, 36, "هذا الزر يمدك تتحكم في السيارة اللي اشترتها من المعرض تنزلها تسحبها ..إلخ", false, GUIEditor.window[1]) GUIEditor.memo[4] = guiCreateMemo(117, 175, 417, 33, "مهمة القفزة هي مهمة جديدة من نوعها وحصريا علي برو جيمر شرحها بالكامل في اف4", false, GUIEditor.window[1]) GUIEditor.memo[5] = guiCreateMemo(119, 221, 422, 32, "مايحتاج الي توضيح فهو صندوق الدعم اذا لديك سؤال او استفسار اطرحه ويجيبك الادمن اذا موجود", false, GUIEditor.window[1]) GUIEditor.memo[6] = guiCreateMemo(118, 265, 421, 32, "منها تقدر تنتقل من مكان الي مكان بكل سهولة ويسر فقط اختار مكان ويمكنك اغلاق النافذة", false, GUIEditor.window[1]) GUIEditor.memo[7] = guiCreateMemo(119, 300, 421, 44, "هذه القائمة تقدر تتعرف علي التوب المال والساعات ولفل والقتل اللي موجودين اونلاين فقط", false, GUIEditor.window[1]) GUIEditor.button[13] = guiCreateButton(167, 356, 282, 50, "إغلاق النافذة | Close Windows", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[13], "NormalTextColour", "FFAAAAAA") ------------------------------- local car = createMarker ( 204.35208129883, 1866.1594238281, 12.140625, "cylinder", 1.2999999523163, 225, 7, 59 ) addEventHandler('onClientMarkerHit', car, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then guiSetVisible ( window ,false ) showCursor( true ) guiSetInputEnabled(false) end end ) addEventHandler( "onClientGUIClick", button , function () guiSetVisible(window,true) showCursor(false,false) end )
-
مش فاهم ممكن توضيح يعني انا عندي بيد دا
-
انا عملت مود ملف ميتا وملف C.lua فيه الكود ذا بس برده مانفع معي
-
+ انا ماريد مود greenzone انا اريد كود عشان اتعلم
-
اريد كود اللي يمنعك تتضرب في منطقة معينة + المكان اللي احط في كود ملف سيرفر ول وشكرا
-
عشان كدا طرحت مشكلة ذا كود توب بار شات اللي عندي ------------------------------------------------------------------------------------ -- PROJECT: TopChat -- VERSION: 1.0.0 -- DATE: 2014 -- DEVELOPERS: JR10 , Edited By =x=|DoN|=x= -- RIGHTS: All rights reserved by developers -- Client.lua ------------------------------------------------------------------------------------ local x, y = guiGetScreenSize() local dxMessages = {} local dxMessagesY = {-25, -25, -25, -25} local dxMessagesTick = {} local isMoving = false function drawMessages() for index, Message in pairs(dxMessages) do dxDrawRectangle (( x / 800 ) * 200, ( y / 900 ) * dxMessagesY[index], ( x / 1440 ) * 760, ( y / 900 ) * 25, tocolor(0, 0, 0, 180)) dxDrawText ( Message[1], ( x / 800 ) * 265, ( y / 900 ) * ( dxMessagesY[index] * 2 ), ( x / 1440 ) * 1000, ( y / 900 ) * 25, tocolor(Message[2], Message[3], Message[4], 255), (x / 1440) * 1.5, "default-bold", "center", "center", true, false, false, true ) end end addEventHandler("onClientRender", root, drawMessages) function sendClientMessage(message, r, g, b) if dxGetTextWidth(message, (x / 1440) * 1, "default-bold") > 750 then sendClientMessage("Invalid Length", 255, 0, 0) return end r, g, b = r or 255, g or 255, b or 255 if #dxMessages == 4 or isMoving then setTimer(sendClientMessage, 1000, 1, message, r, g, b) return end table.insert(dxMessages, {message, r, g, b}) dxMessagesTick[#dxMessages] = getTickCount() addEventHandler("onClientRender", root, addMessage) isMoving = true end addEvent("DoN.sendClientMessage", true) addEventHandler("DoN.sendClientMessage", root, sendClientMessage) function addMessage() local index = #dxMessages local difference = (y / 900) * 1.5 dxMessagesY[index] = dxMessagesY[index] + difference if dxMessagesY[index] >= (index - 1) * 25 then dxMessagesY[index] = (index - 1) * 25 if #dxMessages == 4 then isMoving = true addEventHandler("onClientRender", root, removeMessage) removeEventHandler("onClientRender", root, addMessage) else isMoving = false removeEventHandler("onClientRender", root, addMessage) end end end function removeMessage() local difference = (y / 900) * 1.5 for index = 1, #dxMessages do dxMessagesY[index] = dxMessagesY[index] - difference end if dxMessagesY[1] <= -25 then for index = 1, #dxMessages do dxMessages[index] = dxMessages[index + 1] dxMessagesTick[index] = dxMessagesTick[index + 1] dxMessagesY[index] = (index - 1) * 25 end isMoving = false removeEventHandler("onClientRender", root, removeMessage) for index = 1, #dxMessagesY do if not dxMessages[index] then dxMessagesY[index] = -25 end end end end function removeReadMessages() for index, message in pairs(dxMessages) do local currentTick = getTickCount() if currentTick - dxMessagesTick[index] >= 10000 then removeMessage() end end end addEventHandler("onClientRender", root, removeReadMessages) -- JoinQuit. addEventHandler('onClientPlayerJoin', root, function() sendClientMessage ("#FFFF00( " .. #getElementsByType( "player" ) .. "/24 ) [ #FFFF00" .. getPlayerName(source) .. "#FFFF00 ] Has Joined To ProGamer #ffffff:)", 255, 100, 100,true) end ) addEventHandler('onClientPlayerChangeNick', root, function(oldNick, newNick) sendClientMessage ("#0000FF[ #00FFFF" .. oldNick .. "#0000FF ] Has Change His Nick To [ #0000FF" .. newNick .. "#00FFFF ] !", 255, 100, 100,true) end ) addEventHandler('onClientPlayerQuit', root, function(reason) sendClientMessage ("#FF7300[ #FF0000" .. getPlayerName(source) .. "#FF7300 ] Has Left The ProGamer #ffffff:( #FF7300[" .. reason .. "] !", 255, 100, 100,true) end ) ------------------------------------------------------------------------------------ -- PROJECT: TopChat -- VERSION: 1.0.0 -- DATE: 2014 -- DEVELOPERS: JR10 , Edited By =x=|DoN|=x= -- RIGHTS: All rights reserved by developers -- Server.lua ------------------------------------------------------------------------------------ function sendClientMessage(message,player, r, g, b) if (isElement(player)) then triggerClientEvent(player, "DoN.sendClientMessage", player, message, r, g, b) end end addEventHandler("onPlayerLogin", getRootElement(), function() sendClientMessage("#ffffff[ #ffffff" .. getPlayerName(source) .. "#ffffff ] Has successfully logged in ProGamer", root,0,255,0,true) end ) --[[ addEventHandler("onPlayerLogout", getRootElement(), function() sendClientMessage("#FF5A00[ #FF5A00" .. getPlayerName(source) .. "#FF5A00 ] Has Successfully Logout", root,250,0,0,true) end ) --]]
-
سويت ومانجحت معي
-
.:[انا مسوي مودات ومشفرها وابي اعدل عليه ممكن موقع الفك
AmrOMohamed replied to #HMO-GODA's topic in البرمجة
واذا انت عمله اعمله من جديد يعني لو انت مبرمج صحيح وخبير بالامور ذي اكيد تعرف ان مفي موقع يفك التشفير ويدل ذا انك مبتدأ بالمجال وتريد سرقة مود احد وتغير حقوق -
او انتم تساعدوني وتعطوني مود التوب بار شات يكون سليم لو اشك ان اللي عندي تعبان
-
وانا عندي مود توب بار شات ضيفه اذا لازم اعدل علي مود توب بار شات فاقولي لييي
-
انا عندي كود للاعبين متواجدين الان في الشات بس عايز اخليه مايكون في شات يظهر .. يظهر في TopBarChat هذا هو كود للاعبين متواجدين --[[ * By Mr.SAUD * * Skyep:MR_SAUD8 * --]] function max() outputChatBox(".:[ ".. getPlayerCount() .."/".. getMaxPlayers() .." ]:. : الزوار المتواجدين الأن ]:.",getRootElement(), math.random ( 0, 255 ), math.random ( 0, 255 ), math.random ( 0, 255 ),true ) end setTimer (max, 90000,0)
-
اريد لما يدخل الماركر يعطيه فلوس و مجرد ماياخذ الفلوس يقتله او ينقله الي مكان اخر انا سويت كود بس دنيا خربت عندي </p>\n<pre class="ipsCode">Marker = createMarker ( -1536.1199951172, -107.30553436279, 813.09985351563, "cylinder", 1.5, 69, 3, 9 ) \naddEventHandler(''onMarkerHit'',resourceRoot, function ( hit ) \nif ( hit and getElementType ( hit ) == ''player'' ) then \n givePlayerMoney ( thePlayer, 1000 ) \noutputChatBox(''#ff0000*[ Mission Jump ]لقد فزت بالمسابقة أحسنت صنعاً :)'',hit,255,0,0,true) \n end \nend) \n \naddEventHandler ("onClientGUIClick", resourceRoot, \n function () \n if ( hit and getElementType ( hit ) == ''player'' ) then \n setElementPosition (localPlayer, 214.17950439453, 1901.7315673828, 17.640625) \n end \n end \n) \n \n</pre>\n<div></div>\n<p></p>\n<p>
-
لما بدوس علي سباون بيقلي في شات كار سباون بس مابينزل سيارة