- 
                
Posts
756 - 
                
Joined
 - 
                
Last visited
 
Everything posted by |Mr|-Talal07-|
- 
	جرب الكود هذا وعطني خبر addCommandHandler("Laser", function (source) local m1 = getPlayerMoney(source) if ( m1 >= 3000 ) then takePlayerMoney(source,3000) outputChatBox(" You Got Laser",source,0,255,0) SetLaserEnabled(source,true) SetLaserColor(source,0,150,255,255) setTimer(function() setElementData(source, "laser.on", false) setElementData(source, "laser.aim", false) end,10000,1) else outputChatBox("* You Don't Have Enough Money",source,255,0,0) end end ) اشتغل اشكرك الكود ذا مرة مختصر شكرا على كل شي شكرا حسن شكرا تابل مبروك للكل هذا هو كود الليزر
 - 
	جرب الكود هذا وعطني خبر addCommandHandler("Laser", function (source) local m1 = getPlayerMoney(source) if ( m1 >= 3000 ) then takePlayerMoney(source,3000) outputChatBox(" You Got Laser",source,0,255,0) SetLaserEnabled(source,true) SetLaserColor(source,0,150,255,255) setTimer(function() setElementData(source, "laser.on", false) setElementData(source, "laser.aim", false) end,10000,1) else outputChatBox("* You Don't Have Enough Money",source,255,0,0) end end ) شوف انا بجربه و اذا اشتغل بيكون هذا اختصار من الي اخذته و مشكور ما تقصر
 - 
	خلاص افادني الرجال الله يوفقه و مشكورين يا شباب تعلمت من الموضوع ذا اشياء كثيرة شكرا
 - 
	شوفوا انا حطيت كل الملفات في السكربت اذا شغلته يطلع للكل ليزر ذي صلحتها طيب انا اشتريت ليزر طلع لي ليزر لكن انا مخليه في نص ثانية يروح بس ما راح الكود addCommandHandler("Laser", function (source) local m1 = getPlayerMoney(source) if ( m1 >= 3000 ) then takePlayerMoney(source,3000) outputChatBox(" You Got Laser",source,0,255,0) SetLaserEnabled(source,true) SetLaserColor(source,0,150,255,255) setTimer(SetLaserEnabled,30000,1,source,false) else outputChatBox("* You Don't Have Enough Money",source,255,0,0) end end ) الحل يا جماعة انا عارف انكم نايمين خلاص بكرة شوفوا الحل
 - 
	انت متاكد احط كل الملفات لاني بدون ما اشتري لقيته موجود ياليت تقول وش احط و وش ما احطه
 - 
	شوف انا الحين مشغول في موضوع لليزر اذا خلصت منه اصلح الشوب كله لعيونك
 - 
	اول شي bool dxDrawLine3D ( float startX, float startY, float startZ, float endX, float endY, float endZ, int color[, int width, bool postGUI ] ) انا وين الاقي بداية الليزر و نهايته ثاني شي اذا تابل قد نزله في موضوع ياليت تعطيني الرابط او تابل ينزله هنا بداية الليزر https://wiki.multitheftauto.com/wiki/GetPedTargetStart (نهاية الليزر (يعتمد على مدى تصويب السلاح https://wiki.multitheftauto.com/wiki/GetPedTargetEnd (نهاية الليزر (يعطي أحداثيات الجسم الي أمامك الي يكون أقرب من مدى تصويب السلاح https://wiki.multitheftauto.com/wiki/GetPedTargetCollision مشكور افدتني بس احس ان شغلتك طويله شوي بجرب كلام بجرب و اشوف
 - 
	الحين انت تبي تزود موضوعاتك و لا طفشان؟؟
 - 
	شوف مثل ما تعرف الشوب اكيد اكيد ثلاث ملفات server.lua client.lua meta.xml الحين انا وقت ما قلت لك الكلينت يعني حط ذا في ملف client.lua والسيرفر في ملف server.lua عندك خطاء في الصور امسح images/ قبل كل صورة و لا تنسى تركب الصور في الميتا و بعد كذا جربه و رد علي
 - 
	انا شفت ان العقرب سوى شوب و تابل سوى شوب و حسن سوى شوب و كثير سووا شوبات الحين كلكم ما شفتوا موضوعي تكفون الكود مو بس لي انا الكل يبي يعرف اذا نزلتوه سويتوا خير فينا كلنا الكود مهم تكفون
 - 
	اول شي bool dxDrawLine3D ( float startX, float startY, float startZ, float endX, float endY, float endZ, int color[, int width, bool postGUI ] ) انا وين الاقي بداية الليزر و نهايته ثاني شي اذا تابل قد نزله في موضوع ياليت تعطيني الرابط او تابل ينزله هنا
 - 
	شوف انا صلحت لك نص الشوب الباقي عليك الكلينت outputChatBox("** [ Shop Panel By : ===7MoDy=== ] ***",255,255,0) GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(0.1852,0.1393,0.6303,0.6719,"شوب حمودي",true) GUIEditor_Button[1] = guiCreateButton(831,19,19,20,"x",false,GUIEditor_Window[1]) GUIEditor_TabPanel[1] = guiCreateTabPanel(9,42,843,465,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Shop-1#",GUIEditor_TabPanel[1]) GUIEditor_Image[1] = guiCreateStaticImage(21,20,172,134,"images/deagle.png",false,GUIEditor_Tab[1]) GUIEditor_Image[2] = guiCreateStaticImage(210,23,168,127,"images/ak47.png",false,GUIEditor_Tab[1]) GUIEditor_Image[3] = guiCreateStaticImage(400,19,185,135,"images/m4.png",false,GUIEditor_Tab[1]) GUIEditor_Image[4] = guiCreateStaticImage(609,19,186,134,"images/mp5.png",false,GUIEditor_Tab[1]) GUIEditor_Button[2] = guiCreateButton(34,157,146,36,"150",false,GUIEditor_Tab[1]) GUIEditor_Button[3] = guiCreateButton(216,158,146,36,"230",false,GUIEditor_Tab[1]) GUIEditor_Button[4] = guiCreateButton(416,159,146,36,"200",false,GUIEditor_Tab[1]) GUIEditor_Button[5] = guiCreateButton(628,159,146,36,"170",false,GUIEditor_Tab[1]) GUIEditor_Image[5] = guiCreateStaticImage(215,228,180,150,"images/pistol-s.png",false,GUIEditor_Tab[1]) GUIEditor_Image[6] = guiCreateStaticImage(9,229,188,149,"images/pistol.png",false,GUIEditor_Tab[1]) GUIEditor_Image[7] = guiCreateStaticImage(404,230,187,142,"images/shotgun.png",false,GUIEditor_Tab[1]) GUIEditor_Image[8] = guiCreateStaticImage(623,229,172,144,"images/sniper.png",false,GUIEditor_Tab[1]) GUIEditor_Button[6] = guiCreateButton(635,381,146,36,"300",false,GUIEditor_Tab[1]) GUIEditor_Button[7] = guiCreateButton(420,380,146,36,"100",false,GUIEditor_Tab[1]) GUIEditor_Button[8] = guiCreateButton(27,379,146,36,"50",false,GUIEditor_Tab[1]) GUIEditor_Button[9] = guiCreateButton(220,379,146,36,"110",false,GUIEditor_Tab[1]) GUIEditor_Tab[2] = guiCreateTab("Shop-2#",GUIEditor_TabPanel[1]) GUIEditor_Image[9] = guiCreateStaticImage(35,13,176,158,"images/spaz-12.png",false,GUIEditor_Tab[2]) GUIEditor_Image[10] = guiCreateStaticImage(312,11,193,160,"images/tec-9.png",false,GUIEditor_Tab[2]) GUIEditor_Image[11] = guiCreateStaticImage(614,6,204,169,"images/uzi.png",false,GUIEditor_Tab[2]) GUIEditor_Image[12] = guiCreateStaticImage(318,208,199,172,"images/grenade.png",false,GUIEditor_Tab[2]) GUIEditor_Button[10] = guiCreateButton(49,164,151,33,"300",false,GUIEditor_Tab[2]) GUIEditor_Button[11] = guiCreateButton(331,166,151,33,"120",false,GUIEditor_Tab[2]) GUIEditor_Button[12] = guiCreateButton(645,168,151,33,"105",false,GUIEditor_Tab[2]) GUIEditor_Button[13] = guiCreateButton(342,376,151,33,"1500",false,GUIEditor_Tab[2]) GUIEditor_Label[1] = guiCreateLabel(557,316,282,119,"7MoDy",false,GUIEditor_Tab[2]) guiSetFont(GUIEditor_Label[1],"sa-gothic") guiSetVisible(GUIEditor_Window[1],false) function BuyWeapon(money,id,ammo,name) local m1 = getPlayerMoney(getLocalPlayer()) if ( m1 >= money ) then takePlayerMoney(money) triggerServerEvent("onBuy",getLocalPlayer(),id,ammo) outputChatBox("* You Are Bought " .. name .. "",0,255,0,true) else outputChatBox("* You Don't Have Enough Money",255,0,0,true) end end addEventHandler("onClientGUIClick",getRootElement(), function () if ( source == GUIEditor_Button[1] ) then BuyWeapon(1000,30,1000,"AK47") elseif ( source == GUIEditor_Button[5] ) then BuyWeapon(1500,31,1000,"M4") elseif ( source == GUIEditor_Button[2] ) then BuyWeapon(150,24,950,"Deagle") elseif ( source == GUIEditor_Button[3] ) then BuyWeapon(1500,16,20,"grenade") elseif ( source == GUIEditor_Button[4] ) then BuyWeapon(200,29,500,"mp5") end end ) addEvent("Open",true) addEvent("Close",true) addEventHandler("Open",getRootElement(), function () guiSetVisible(GUIEditor_Window[1],true) showCursor(true) end ) addEventHandler("Close",getRootElement(), function () guiSetVisible(GUIEditor_Window[1],false) showCursor(false) end ) السيرفر addEvent("onBuy",true) addEventHandler("onBuy",getRootElement(), function (id,ammo) giveWeapon(source,id,ammo) end ) local Marker = createMarker ( 1367.599609375, -1280, 12.300000190735, "cylinder", 1.5, 255, 0, 0, 255 ) addEventHandler('onMarkerHit', Marker, function ( hitPlayer ) triggerClientEvent(hitPlayer,"Open",hitPlayer) end ) addEventHandler("onMarkerLeave",Marker, function (hitPlayer) triggerClientEvent(hitPlayer,"Close",hitPlayer) end ) و لقيت عندك اخطاء راجع الشوب
 - 
	مشكور ما تقصر طيب انا ما ابي اسوي موضوع ثاني ابي كود الليزر بس للي يقدر
 - 
	بسم الله الرحمن الرحيم السلام عليكم ورحمه الله و بركاته ياشباب الي يعرف كود الشيلد الي في البيس مود يفيدني وشكراا
 - 
	يعني الحين انت تبي شوب بدون اسلحة طيب وش تبي دم درع اختفاء سرعة الدم الطويل الرصاص المتفجر ما اظن انك تلاقي شوب مثل كذا
 - 
	خلاص طيب شوف كلام اخونا
 - 
	
	
				مشكله في برنآمج التحرير ملفات الـــ الدي اف اف Dff
|Mr|-Talal07-| replied to POWR's topic in Arabic / العربية
لأن القسم عام يختص بكل شيئ حتى خارج نطاق اللعبة .. كلامك صح بس الاخ ينتظركم يبي يشغله الي يعرف يقول للرجال الرجال في حاجه للمساعدة - 
	تبينا نساعدك ساعدنا viewtopic.php?f=119&t=46670 شوف ذا الرابط
 - 
	مشكور اشتغل اشكرك
 - 
	يعني انزله مثل ما انزل الجديد بس اغير الاصدار بجرب
 - 
	السلام عليكم ورحمة الله و بركاته يا شباب ابي اعرف كيف انزل اصدار ثاني من مود انا مسويه في الكومنيتي الي يعرف يعلمني
 - 
	مشكور والله افدتني وافدت الجميع مشكور الله يوفقك
 - 
	بسم الله الرحمن الرحيم أضافة xml كيف إنك تقدر تجيب آلسعر والرصآص إلخ بكود وآحد ..بدون ماتسوي نسخ لصقّ "22" price="100" ammo="99999"/> "4" price="1000" ammo="1"/> function() local xml = xmlLoadFile("اسم الملف.xml") local weap = xmlFindChild(xml, "weap", 0) for i,weapon in pairs(xmlNodeGetChildren(weap)) do local id = xmlNodeGetAttribute(weapon, "id") local price = xmlNodeGetAttribute(weapon, "price") local ammo = xmlNodeGetAttribute(weapon, "ammo") end end مشكور على المعلومة المفيدة لو تعطيني مثال لربطها مع ازرار او لسته الي تقدر عليه
 - 
	يسعدني انك انت اول من رد علي وعجبتني فكرتك و ان شاء الله الكل يسوي شوب صغير الحجم بسيط ما تتعب فيه انت تقول اخليها كلها في السيرفر يعني اذا انا سويت الفنكشن في السيرفر عادي اكتبها في الكلينت ؟؟ اي اضافة ثانية تبون تضيفونها ارجوا الرد ابدعوا معنا يمكن الرجال مو موجود واحد يرد اذا يعرف
 - 
	Thank you my brother Talal You'r Welcome
 
