-
Posts
1,377 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Mr.Mostafa
-
ترا مو لازم تحقد لاحد بكل شي , وتركز علي اي غلطة .. ارتقي شوية واكبر .
-
جرب كدا Weapons = { 22 , 23 , 24 , 25 , 26 , 27 , 28 , 29 , 31 , 32 , 30 , 33 , 34 , 38 } addEventHandler( 'onPlayerDamage' , root , function( attacker , Weapon ) if ( isElement( attacker ) and getElementType( attacker) == 'player') then for _ , weapon in ipairs( Weapons ) do if ( Weapon == weapon ) then killPed( source,attacker ) break end end end end )
-
لو سويت لنفسي 3 ادوار بعدين جيت اسحب الادوار , يجيب اول دور فقط , والادوار الباقية ليا , يقول اني خرجت من السرفر
-
اتوقع لانه نسخ من المنتدي يمكن المنتدي لما تنسخ منه , يحصل للكود شي , الله اعلم
-
اسحب علي الاوبجكت , بس كدا كدا ما يبي يشتغل ويطلع الخطا حق الديبق , مدري ليه , تيجي لما اغير المود بس
-
آبي توضيح لحقت آلترتيب مآ عرفت آسويهآ آلصرآحة ــ آنآ فكرتي آبي لو كتب كومآند dor يسجله مثلا انه رقم 1 , لو احد تاني كتب يسجله رقم اتنين , الخ الخ الخ ولما اكتب كوماند مثلا getdor يسحب الشخص الي عليه الدور ــ local taple = {} addCommandHandler("dor",-- يحط نفسه بالدور function(source) local dor = -- ما عرفت كودها .. outputChatBox("تم وضعك في الدور , انتظر حتي ياتي دورك لسحبك",source,255,0,0,true) outputChatBox(""..dor.." انت الدور رقم",source,255,0,0,true) table.insert(taple,{player=source}) end ) addCommandHandler("getDor",-- يسحب الاعب الي عليه الدور function(source) local x,y,z = getElementPosition(source) if #ta~=0 then setElementPosition(player,x,y,z) table.remove(ta,1) end end )
-
شكرا روك + المود كان شغال عادي , لكن حطيته في مود تاني صاير يجيب ديبق كدا 7 : local theObject = createObject ( 22, x + 2, y + 2, z, 0, 0, 0 ) server.lua:7 : unexpected symbol near ' function consoleCreateObject ( thePlayer, commandName ) if ( thePlayer ) then local x, y, z = getElementPosition ( thePlayer ) -- get the player's position -- create a Object next to the player: local theObject = createObject ( 22, x + 2, y + 2, z, 0, 0, 0 ) if ( theObject ) then -- check if the Obeject was created successfully outputConsole ( "Object created successfully", thePlayer ) else outputConsole ( "Failed to create Object2", thePlayer ) end end end addCommandHandler ( "createObject2", consoleCreateObject )
-
تمام , + التحقق شغال عادي .
-
اوك
-
وش دخل هادا ؟
-
لا ما تنفع هادي , ابي باب خزنة بنك
-
سلام عليكم لما احاول اسوي اوبجكت بالايدي دا يطلع ديبق خطا ان الايدي خطا مع اني جايبه من الموقع , وش الحل function consoleCreateObject ( thePlayer, commandName ) if ( thePlayer ) then local x, y, z = getElementPosition ( thePlayer ) -- get the player's position -- create a Object next to the player: local theObject = createObject ( 19799, x + 2, y + 2, z, 0, 0, 0 ) if ( theObject ) then -- check if the Obeject was created successfully outputConsole ( "Object created successfully", thePlayer ) else outputConsole ( "Failed to create Object2", thePlayer ) end end end addCommandHandler ( "createObject", consoleCreateObject )
-
مافي لا ما عندي كدا لما حطيته بمود تاني , اشتغل مع اني متاكد من الميتا , بس خلاص مب مهم شكرا
-
سلام عليكم وش المشكلة هنا , اللوحة ما تبي تقفل نهائي GUIEditor = { tab = {}, button = {}, tabpanel = {}, label = {} } WindoW = guiCreateWindow(366, 143, 681, 496, "::: قوانين السيرفر :::", false) guiWindowSetSizable(WindoW, false) guiSetAlpha(WindoW, 1.00) guiSetProperty(WindoW, "CaptionColour", "FF00FFFF") guiSetVisible(WindoW,false) GUIEditor.button[1999] = guiCreateButton(286, 447, 109, 28, "Close Panel", false, WindoW) guiSetFont(GUIEditor.button[1999], "default-bold-small") guiSetProperty(GUIEditor.button[1999], "NormalTextColour", "FFFE0000") addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.button[1999] then guiSetVisible(WindoW,false) guiWindowSetSizable(WindoW, false) showCursor(false) end end )
-
تمام بجربه + ما تعرف للبيد ؟
-
ما انحلت المشكلة . اب
-
سلام عليكم .. ــ عندي استفسارين .. هل اقدر اسوي ماركر في اكثر من مكان عن طريق الجداول .. يعني يكون ماركر في كل الاماكن الي موجودة في الجدول , وتكون كل الماركرات نفس الوظيفة + لو اقدر , كيف اسويها عن طريق الجداول , يعني الاحداثيات بتكون كيف ـــ تاني استفسار , كيف اخلي البيد يتحرك بالسيارة ؟
-
اها ما انتبهت .. bindKey( 'f2' , 'down', function () if getTeamName(getPlayerTeam(localPlayer)) == getTeamFromName("Police") then guiSetVisible ( Window , not guiGetVisible ( Window ) ) else outputChatBox("* Error : Police Only !",255,0,0,true) end end )
-
bindKey( 'f2' , 'down', function openPanel () if getPlayerTeam(localPlayer) == getTeamFromName("Police") then guiSetVisible ( Window , not guiGetVisible ( Window ) ) else outputChatBox("* Error : يجب ان تكون بوليس لفتح هذة اللوحة !",255,0,0,true) end end )