Jump to content

aL.Kfo

Members
  • Posts

    756
  • Joined

  • Last visited

Everything posted by aL.Kfo

  1. مرحبا anim طبعا الكل عارف الحركات الاي في الفري روم الخيار ابي طريقه كيف اخذ حركه من الخيارات و و اخلي لها احداث الاي يقرب ل المكان و يضغط تاب تطلع له الحركه
  2. المشكله في كودك لا طلعت الشخصيات و اخترت شخصيه م يبدا العبه يعلق ع الشخصيات نفسها ،، ومشكله المود نفسه م يحفظ سلاح
  3. امااااااا الموضوع من لارمضان ومافيه الا 3 ردود لا هنت ع الششرح صراحه يبي له جلسسه و افهمه صح الحين دايخ سهران
  4. تروح و ترجع ب السلامه [لا حج بلا تصريح ] خخخ
  5. واضح انت اصلن م ترد غير ينقل ينقل ينقل
  6. اقول لا تقول نوب م نوب تابع وانت ساكت ~~ ثانكسسس تم حفظها في مستند نحتاجها بعدين
  7. وش جابك ب حارتنا ذذ ^_$ ~~ شررح بططران ومفيدد اكثر المبرمجين دوافير ب الدراسسه خاصتن الرياضيات نادر جدا تحصل فاشل ب الدراسه مبرمج << خششه غلط q1 برب نراجع الشرح
  8. يب المود حق MR.S3D ووانا عندي نفس المششكله و سعد قال بيحلها بس من اخر رد م دخخل المنتدى الموضوع viewtopic.php?f=160&t=65675
  9. يب صحيح مثل الاستضافه الاي اتعامل معها م اقدر اسحب ملفات الا من الاف تي بي و اقدر ارفع ملفات من الاستضافه و استضافه ثانيه قد جربتها م اقدر ارفع من الاستضافه ولا شي تعاملها كله اف تي بي
  10. ضبط بس ودي اعرف ليه الاوبجككت يجي مخفي
  11. حطيت الآوبجكت مآنفع مآ أشوفهةة مع أن الدمنيشن 0 والآنتيرور 5 local Time,Repate = 60000,1 function move() GATE = createObject(5422, 1302,-783.40002441406,1085,0,0,90) GATEmove(1) GATEc = createObject(5422, 1282.5,-783.79998779297,1090.9000244141,0,0,90) GATEmove(2) end function GATEmove(position) if position == 1 then moveObject(GATE, 3000, 1302.3000488281,-783.40002441406,1087.5) local Sound = playSound3D("alarm.mp3", 1302, -783.40002441406, 1085, true) setTimer(GATEmove, 30000+30000, 1, 2) setTimer(function() destroySo() end,Time,Repate) end end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), move) function GATEmove(position) if position == 1 then moveObject(GATEc, 3000, 1282.3000488281,-783.79998779297,1093.4000244141) local Sound = playSound3D("alarm.mp3", 1282.5, -783.79998779297, 1090.9000244141, true) setTimer(GATEmove, 30000+30000, 1, 2) setTimer(function() destroySo() end,Time,Repate) end end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), move) function destroySo( ) if ( isElement( Sound ) ) then destroyElement ( Sound ) end end
  12. اها تبي مود الاي انت تحدده يشتغل ل الزائر الاي اول مره يخش يعني يشتغل المود ذا قبل اي مود مدري تسسيف
  13. يب ضبط وززي العسل لا هنت ي احمد + مونستر و منورين المنتدى كم يم م شفتكم تستاهلون اشراف و ذا بست صراحه الاجانب مفهين عنكم ض1
  14. لو تبي تحذف الملف الاي قالو عنه الشباب نزل لك نسخه خلها معك تحتاجها بعدين يممممقن
  15. م ضبط يمقن المشكله من ذا الكود طيب local theCheckkKpointt = nil local TTtheBbBlip = nil addEvent("tractorCreateend",true) addEventHandler("tractorCreateend",getRootElement(), function (name, size, x, y, z) theCheckkKpointt = createMarker(tostring(x), tostring(y), tostring(z), "checkpoint", tonumber(size), 0, 0, 255, 170) setMarkerTarget ( theCheckkKpointt, tostring(x), tostring(y), tostring(z) ) TTtheBbBlip = createBlipAttachedTo( theCheckkKpointt, 53, 2, 0, 0, 255, 255 ) addEventHandler("onClientMarkerHit",theCheckkKpointt,OontractorStopReach) end ) function OontractorStopReach(hitPlayer) if hitPlayer == getLocalPlayer() then if isElement(theCheckkKpointt) then removeEventHandler("onClientMarkerHit",theCheckkKpointt,OontractorStopReach) destroyElement(theCheckkKpointt) end if isElement(TTtheBbBlip) then destroyElement(TTtheBbBlip) end triggerServerEvent("tractorReachDestination",getLocalPlayer(),getLocalPlayer()) end end addEventHandler("onClientPlayerWasted", getRootElement(), function() if isElement(theCheckkKpointt) then removeEventHandler("onClientMarkerHit",theCheckkKpointt,OontractorStopReach) destroyElement(theCheckkKpointt) end if isElement(TTtheBbBlip) then destroyElement(TTtheBbBlip) end end ) addEventHandler("cnClientVehicleExit", jetRootElement(), function() if isElement(theCheckkKpointt) then removeEventHandler("onClientMarkerHit",theCheckkKpointt,OontractorStopReach) destroyElement(theCheckkKpointt) end if isElement(TTtheBjBlip) then destroyElement(FTtheBbBlip) end end ) اذا يمديك تضيف عليها بعد نزول السياره من الماركر تختفي بعد9 دقايق حلو لو يبي لها قروشه اتركها
  16. Defalut فيه قروب اسل اسمه false هذا فيه كل الخصائص بس كلها true انت ممكن تاخذ منه الخصائص وتحطها في قروب ثاني وتخليها يب صادق ضبططتةة سوال بسيط اذا كانك تذكر كود المخدرات توصيل المخدرات الاي ققلت لك مشكلته ان الاعب لا نزل سياره و رراح للماركر و نزل سياره م تختفى الاولى ي بعد حيي الحين معي كود ثاني لا نزلت سياره و رجعت للماركر نزلت سياره م تختفي الاولى نفس مشكله الكود الاي قبل الاي ضبططته المهم ذا الكود local tractorjobmarker= createMarker (-381.25811767578, -1438.8836669922, 25.7265625-1, "cylinder", 2,255, 200, 0, 150) function startMMmiIssion (player) if getElementType(player) == "vehicle" or getPedOccupiedVehicle(player) then return end fadeCamera(player,false,1 ) setTimer(fadeCamera,1000,1,player,true,5 ) setTimer(setElementPosition,1500,1,player, -383.4,-1406.6,25.2 ) Theplace = createVehicle ( 531, -386.2,-1405.9,25.0 ) outputChatBox ( "Hello ! I need to keep the engine of my tractor good...", player,255, 200, 0, 150 ) outputChatBox ( "Normal i drive it around san andreas for the fun of it, but i'm scared", player,255, 200, 0, 150 ) outputChatBox ( "to get infected by the zombies, would you do it for me? i will give 25000$", player,255, 200, 0, 150 ) outputChatBox ( "Follow the raceflag, you get a total of 25000$ at the end STOP AT GASTSTATIONS", player,255, 200, 0, 150 ) outputChatBox ( "DONT GET OUT OF THE VEHICLE OR YOU NEED TO RESTART", player,255, 200, 0, 150 ) end addEventHandler( "onMarkerHit", tractorjobmarker, startMMmiIssion ) local blip = createBlip(-380.74340820313,-1436.0946044922,25.7265625, 53, 0, 0, 0, 0, 0, 0, 250) outputDebugString("Blip visible distance: "..getBlipVisibleDistance(blip)) --50 setBlipVisibleDistance(blip, 350) outputDebugString("Blip visible distance: "..getBlipVisibleDistance(blip)) --100 ياليت الحل منكك او من احد الشباب
  17. مرحبا شباب استفسار ب خصوص الاسسل ضبطت لي اسل و حددت لكل فريق خصائص فيه بعض الخصائص مو محصلها في الملف هي موجوده بس مدري وينها و نسخت اسم الخاصيه من لوحه الادمن مو طالعه ب البحث هل فيه الويكي شي يختص ب هيكك يعني اسماء الخصائص
  18. امم لا هنت ي بعدي بجرب ع الدزه و لي باك
  19. ^^^^^^^^^^^^ يب اول م يغتح الباب يطلع صوت و وقت تقفيل الصوت انا احدده
  20. حلو حلو ضبط بس انا ابي اربطه ب البوابه اول م تفتح يطلع الصوت و يقفل ب وقت انا احددده هيكك function move() GATE = createObject(980, x,y,z,0,0,90)-- نسوي باب -حط الاحداثيات GATEmove(1) end function GATEmove(position) if position == 1 then moveObject(GATE, 3000, x,y,z) -- المكان الي تبي الباب يتحرك له setTimer(GATEmove, 120000+120000, 1, 2) elseif position == 2 then moveObject(GATE, 3000, x,y,z)-- بعد دقيقتين يرجع لنفس المكان حط الاحداثيات setTimer(120000+120000, 1, 1) end end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), move) function onResourceStart() local Sound = playSound3D("sounds/song.mp3", 373.14, -125.21, 1001, true) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) setTimer ( function ( ) if ( isElement( Sound ) ) then destroyElement ( Sound ) end end ,3000,1 )
  21. هذا الكود صحيح ؟ طيب كيف اخلي الوقت يقفل بعد 20 ثانيه او الخ [lua]function onResourceStart() local sound = playSound3D("sounds/song.mp3", 373.14, -125.21, 1001, true) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) [/lua]
  22. ب نحاول ب الفنكشات و لي باككك
  23. ^ ذا مثال واظن واضح وتركبه على كودك كذا, اذا ضغط الزر, if gWA ~= '' and tonumber(gWA) and gWA:len() < 5 then وكمل الباقي نفسها ذذ وبالنسبه انه ما يكتب سالب هو حاط تايمر يتحقق ان الاديت في سالب ويسوي سيت تكست ذذ هو حاط كذا, if gWA22 == '-' then انت بدلها كذا, if gWA22:find('-') then وطبقها ع الكل ذذ اكيد واضح و هو فيه اكثر من هيكك توضيح لا هنت ي بعد حيي ضبط وزي العسسل تبا للبقات
×
×
  • Create New...