Jump to content

Stranger

Members
  • Posts

    710
  • Joined

  • Last visited

Everything posted by Stranger

  1. بس فيه شي ثاني لو تقدر يا اسامه ابي اضيف كود يعني كلمه اكتبها في اف 8 وانتقل للسياره يليت لو تقدر والسياره تكون خاصه فيني محد يركبها غيري لو تقدر يعني او اي احد يقدر يليت يقول
  2. ^ كوبي بيست من الويكي -_-" ============================== إلى السيارة التي انشأتها بالكود , وتقوم بدخولها Blip و الـ Marker هاذ الكود يجيب الـ ! local Car = createVehicle ( ID, x, y, z ) function MyMarker ( ) local arrowMarker = createMarker ( 0, 0, 0, "arrow", .75, 255, 0, 0, 255 ) attachElements ( arrowMarker, source, 0, 0, 2 ) createBlipAttachedTo ( arrowMarker, 55 ) end addEventHandler ( "onVehicleEnter", Car, MyMarker ) الأستبدال السطر الأول : ID = رقم السيارة x, y, z = الاحداثياث عدل على رقم 55 في السطر الخامس Blip إذا تبي تغير شكل الـ ============================== لأي سيارة تدخلها Blip و الـ Marker هاذ الكود يجيب الـ ! function MyMarker ( ) local arrowMarker = createMarker ( 0, 0, 0, "arrow", .75, 255, 0, 0, 255 ) attachElements ( arrowMarker, source, 0, 0, 2 ) createBlipAttachedTo ( arrowMarker, 55 ) end addEventHandler ( "onVehicleEnter", root, MyMarker ) عدل على رقم 55 في السطر الرابع Blip إذا تبي تغير شكل الـ v أدخل هنا Blips اذا تبي تعرف ارقام وأشكال الـ https://wiki.multitheftauto.com/wiki/CreateBlipAttachedTo يعطيك العافيه ياالغالي
  3. طيب يليت تحط الكود مع مثال
  4. السلام عليكم يا شباب ابي كود يعني تكبته في اللوحه حقت الادمن الكود هو ( تنزيل شخصيه + تخليها ترقص ) وثاني شي اقدر اطعيه سلاح يليت فهمتوني
  5. طيب الكود بس server ولا معه client لأني سويته وماضبط
  6. يليت يا تابل لو تحط الكود كامل يعني وانت حاط معه مثال
  7. السلام عليكم يا شباب ......... ابي اكود يخلي في السياره ماركر حتى لو تحركت السياره الماركر يتحرك معها + Blip اتمنى فهمتوني
  8. السلام عليكم يا شباب لاهنتو ابي برنامج يفك التشفير حق المودات ويليت لو واحد معه لايبخل
  9. تسلم والله يالغلا بس تقدر تحط لها احداثيات ؟ ومايقدر ياخذ غير وحده بس عشان الاق ؟ حط احداثيات مثلا يوديه لـ الدائري للـ مريخ اي شي .. عشان م يقدر يشطططحح مشوار للـ بدايه مثلا وياخذ موتر ثاني بس غير الـ id = اي دي الموتر x , y , z = الاحداثيات تسلم والله يالغلا الكود ذا مو صح بس انا ضفت لكود الي فوق احداثيات وضبطت معي مشكور تسلم
  10. تسلم والله يالغلا بس تقدر تحط لها احداثيات ؟ ومايقدر ياخذ غير وحده بس عشان الاق ؟
  11. لا يلبى خطأ سويته اول مادخلت في العلامه جاتني سيارات كثييييييره اانا ابيه اول ما يدخل فيها ينتقل داخل السياره على طول وفي المكان الي احدده انا يعني تبية اذا دخل الماركر! يركب سيارة بعدين تختار احداثيات يوديك لها لا يلبى ابيه اول ما يدخل الماركر تجيه سياره يعني زي كأنك تبي تعطي واحد سياره من لوحة الادمن صح تجيه هو راكب فيها ؟ بس انا ابيها زي كذا اول ما يدخل الماركر تجيه السياره ويكون راكب فيها
  12. لا يلبى خطأ سويته اول مادخلت في العلامه جاتني سيارات كثييييييره اانا ابيه اول ما يدخل فيها ينتقل داخل السياره على طول وفي المكان الي احدده انا
  13. يلبى قلبك تسلم اشتغلت بس فيه مشكله انه كل ما يدخل في الدائره تطلع سياره ثانيه الحل هو ابيه اول مايدخل في الدائره تجيه السياره يعني يكون راكب فيها اول ما يدخل الدائره
  14. السلام عليكم يا شباب ابي مود علامه اذ دخلت فيها تجيك سياره يعني مثلا جا لاعب ودخل فيها تجيه سياره والسياره تجيك في مكان معين انت تختاره بالاحداثيات يليت فهمتوني
  15. يليت لو واحد يسويه لي دون فلوس
  16. يا شباب انا مثلا نزلت من لوحة الادمن createObject طيب كيف احركها وانا داخل السيرفر هو بكود بس يليت لو تعلمون ي
  17. لا زي حرب العصابات ----------------------------------------------------------------------------- جراند العرب هي حرب العصابات ولا ؟ المهم ابيها زي حرب العصابات لاهنت تقدر ؟
  18. ياعاشق يليت تحطه في السكربت لاهنت يعني تضيفها
  19. -------------lsdm_client.lua ------------- ------------- local x, y = guiGetScreenSize() SkinMusic = "data/music/SkinSelectMusic.ogg" SkinAnims = {"dnce_M_b","DAN_Left_A","DAN_Down_A","DAN_Loop_A"} StartSkin = 264 SkinJobText = "" SkinJobColor = {255,255,255} NewSkin = false SkinDescriptions = {"Farmer Jenkins","Street Racer","","","","","","","News Lady","Old Grandmother","Barmaid", "Model","Gangsta Biatch","Old Man","Truck Man","Road Worker","IT Man","BeachGuard","Gangsta","ســعودي", "Rapper","Hip Hop Dancer","Skater","Gangsta","Ladies Man","Tourist","Builder","Drug Dealer", "Drug Dealer","Mexican Gangsta","Horse Breeder","Fisherman","Captain","Horseman","Fisherman", "Mailman","Mailman","Old Woman","Grandmother","Pretty Girl","Sportswoman", "Sportswoman","Taxi Driver","Salesman","Lifeguard","ســـعودي","Mexican Gangster","Taxi Driver", "Restaurant Owner","Engineer","Sportsman","Sportsman", "Gardener","Old Lady","Slut","Slut","Businessman","Gardener","ســـعودي","Dork","Pilot","Prisoner", "Slut","Slut","Slut","Drug Dealer","Bus Driver","Priest","Florist", "Butcher","Police Officer","Truck Man","Truck Man","Truck Man","Slut","Businesswoman","Homeless", "Homeless","Homeless","Boxer","Boxer","Elvis","Elvis","Elvis", "Slut","Slut","Porn Star","Gardener","Old Lady","Slut","Dancer","Babe","Dancer","Golfer","Farmer", "Athlete","Lifeguard","Dork","Sportman","Motorcyclist","Drug Addict", "Bloods Gangsta","Blood Gangsta","Bloods Gangsta Leader","Crove Gangsta","Crove Gangsta","Crove Gangsta", "Mexican Gangsta","Mexican Gangsta","Mexican Gangsta", "Russian Mafioso","Russian Mafioso","Mayor","Crips Gangsta","Crips Gangsta","Crips Gangsta","Chinese Mafioso", "Chinese Mafioso","Chinese Mafioso","Chinese Mafioso", "Japanese Gangster","Japanese Gangster","Japanese Gangster","Italian Mafioso","Italian Mafioso", "Italian Mafioso","German Guy","Motorcyclist","Old Lady", "Farmer","Wild Child","Hippy","Truck Man","Homeless","Homeless","Taxi Driver","Homeless","Slut","Slut","Slut", "Businesswoman","Bus Driver","Taxi Driver", "Artist","Slut","Artist","Mayor","News Anchor","News Anchor","Secretary","Fat Slut","Slut","Project Manager", "Lifeguard","Pizza Boy","Hairdresser","Farmer","Farmer", "Farmer","Farmer","Farmer","Combine Head","Security Guard","Security Guard","Security Guard","Security Guard", "Seller","Butcher","Chinese Slut","Chinese Guy", "Casino Employees","Casino Employees","Street Racer","Street Racer","Street Racer","Hairdresser","Hairdresser", "Porn Star","Mercenary","Tattoo Maker","Drunkard", "Taxi Driver","Bus Driver","Thief","Ladys Man","Chinese businessman","Business Man","Simple Man","Actor", "Black Lady","Dumped Lady","Lady","Student","BodyGuard", "Gangsta Biatch","Old Woman","Old Lady","Farmer","Homewive","Homeless Farmer","Truck Driver Lady", "Truck Driver","Kung-Fu Man","Kung-Fu Man","Hamburger Lady", "Truck Driver","Black Woman","Black Woman","Pizza Man","Simple Boy","Staff Lady","Homeless Man", "Homeless Drunk Guy","Important Lady","Black Old Woman","Beatiful Lady", "Staff Man","Old Lady","Office Girl","Beach Party Man","Club Dancer","Beach Man","Club Man","China Woman", "China Lady","Student Girl","Business Man", "Business Man","China Man","Homeless Guy","Simple Grandmother","Gangsta Grandmother","Lady","Vehicle Driver", "Old Man","Simple Guy","Cute Woman","Prostitute", "Homeless Man","Gentelman","Disko man","Big Show","Prostitute","Prostitute","Big Woman","Cop Stripper", "Bikers Member","Bikers Member","Beaver Skin Trader", "Formal Man","Swimming Woman","Swimming Man","Taxi Driver","Bikers Boss","Plane Pilot","School Girl?", "Naked Lady","Golf Club Member","Golf Club Member", "Road Worker","Drunk Man","Drunk Fat Man","Loyal Woman","Police Officer","Police Officer", "Police Officer","Car Painter","Gangster","Gangster","Gangster", "Mafia Member","Mafia Member","Medic","Medic","Medic","Firefighter","Firefighter","Firefighter", "Police Officer","Police Officer","Police Officer","Police Officer", "Police Officer","Police Officer","Police Officer","Police Officer","Police Officer","Police Officer", "Normal Man","Punk","Ceasar","Tatoo Man","Blind Man","Business Man", "Pimp The Real","DJ","Cheating Woman","Stupid Boy","Real Gangster","The Boss","Soldier Ryan","Pimp G**", "Gangsta Biatch","Motor Mechanic","Computer Freak","Weird Man", "Beckham Fan","Car Painter","Tehnology Boy","Big Show","Ex-Captain"} function SelectSkin () setElementInterior ( getLocalPlayer(), 0, 0,0,0 ) setCameraMatrix( 3878.8999023438,-1610.0999755859,17.1, 3878.9900488281,-1607.4000244141,16.5) skin = createPed ( StartSkin, 3878.9900488281,-1608.4000244141,16.3,180 ) setPedAnimation( skin, "DANCING", SkinAnims[math.random(1,4)]) fadeCamera( true, 5) setTime(0,0) SkinSelectMusic = playSound(SkinMusic,true) bindKey("arrow_r","down",NextSkin) bindKey("arrow_l","down",LastSkin) bindKey("lshift","down",SpawnPlayer) addEventHandler("onClientRender",getRootElement(),AnnounceSkinJob) showCursor(true) end addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), function() SelectSkin() FreezeBots() end) function NextSkin() if StartSkin == 312 then StartSkin = -1 elseif StartSkin == 2 then StartSkin = 8 end StartSkin = StartSkin + 1 setElementModel(skin,StartSkin) setPedAnimation( skin, "DANCING", SkinAnims[math.random(1,4)]) SkinJobTextColor() end function LastSkin() if StartSkin == 0 then StartSkin = 313 elseif StartSkin == 9 then StartSkin = 3 end StartSkin = StartSkin - 1 setElementModel(skin,StartSkin) setPedAnimation( skin, "DANCING", SkinAnims[math.random(1,4)]) SkinJobTextColor() end function SkinJobTextColor() if SkinDescriptions[StartSkin] == "Medic" then SkinJobColor = {200,0,200} elseif SkinDescriptions[StartSkin] == "Police Officer" then SkinJobColor = {0,0,200} elseif SkinDescriptions[StartSkin] == "Firefighter" then SkinJobColor = {200,0,0} elseif SkinDescriptions[StartSkin] == "Homeless" then SkinJobColor = {0,200,0} else SkinJobColor = {200,200,200} end end function AnnounceSkinJob() if SkinDescriptions[StartSkin] == nil then SkinJobText = "Civilian" else SkinJobText = SkinDescriptions[StartSkin] end dxDrawText( SkinJobText, 0, y/2.2, x, y, tocolor ( SkinJobColor[1],SkinJobColor[2],SkinJobColor[3], 255 ), 3.02, "default-bold","center" ) dxDrawRectangle ( x-x/1.5, y/1.23, x/3, y/20, tocolor ( 0, 0, 0, 230 ) ) end function SpawnPlayer() local r,g,b = math.random(0,255),math.random(0,255),math.random(0,255) triggerServerEvent ( "onClientWantsToSpawn", getLocalPlayer(), getLocalPlayer(),StartSkin,r,g,b ) unbindKey("arrow_r","down",NextSkin) unbindKey("arrow_l","down",LastSkin) unbindKey("lshift","down",SpawnPlayer) setTime(12,0) stopSound(SkinSelectMusic) removeEventHandler("onClientRender",getRootElement(),AnnounceSkinJob) showCursor(false) guiSetVisible(lnextskin,false) guiSetVisible(rnextskin,false) guiSetVisible(spawnskin,false) setElementData(getLocalPlayer(),"red",r) setElementData(getLocalPlayer(),"green",g) setElementData(getLocalPlayer(),"blue",b) end lnextskin = guiCreateButton(x-x/1.54,y/1.22,x/11,y/34,"الخلف",false) guiSetProperty(lnextskin,"PushedTextColour","FFFF0000") rnextskin = guiCreateButton(x-x/1.83,y/1.22,x/11,y/34,"التالي",false) guiSetProperty(rnextskin,"PushedTextColour","FFFF0000") spawnskin = guiCreateButton(x-x/2.25,y/1.22,x/11,y/34,"انتقال",false) guiSetProperty(spawnskin,"PushedTextColour","FFFF0000") addEventHandler( "onClientGUIClick", getRootElement(), function() if source == lnextskin then LastSkin() elseif source == rnextskin then NextSkin() elseif source == spawnskin then SpawnPlayer() end end) local tempData = { } addEventHandler ( "onPlayerWasted", getRootElement(), function ( ) tempData [ source ] = { weapons = getWeaponsTable ( source ), skin = getElementModel ( source ) } end ) ------PEDS WeaponSeller = createPed ( 30, 296.390625,-40.2216796875,1001.515625 ) setElementInterior ( WeaponSeller, 1, 296.390625,-40.2216796875,1001.515625 ) setPedAnimation( WeaponSeller, "BAR", "BARman_idle") BurgerSeller = createPed ( 167, 374.7841796875,-117.27734375,1001.4921875,180 ) setElementInterior ( BurgerSeller, 5, 374.7841796875,-117.27734375,1001.4921875 ) setPedAnimation( BurgerSeller, "GANGS", "hndshkcb") function FreezeBots() local Bots = getElementsByType("ped") for k,v in ipairs(Bots) do setElementFrozen(v,true) end end ياشباب هذا السكربت يعني اقدر اختار شخصيات اول ماتبدأ تجيك الشخصيات ( انا ابييها مثلا زي قروبات يعني قروب لشخصيات الخضر وقروب لشخصيات البننفسجي والاصفر والسماوي والشرطه ) وكل قروب يعني اذ جيت اختار شخصيه من قروب الخضر تجيني الكاميرا حقتها يعني تصوير الماكن الخاص بهم وانا اختار وكل قروب مايقدر يقتل واحد من فريقه اتمنى تكونو فهمتوني
  20. تعرف الفري روم خشه وادخل ملف fr_client.lua وحط الكود هذا bindKey( 'l', 'down', 'lights', '2' ) -\ أو سو ملف جديد وسمه client.lua وحط فيه الكود واضف التعريف للـ meta.xml ="client.lua" type="client" /> مشكور والله
  21. تسلم يلبى فديتك بس تم يلبى اشتغل
  22. طيب ياعاشق تقدر ترفع كلينت انت هنا معدل عليه باالزر ؟ اذ مافيها تعب يعني
  23. الكود الي معطيك كامل مغير حطه في ملف الكلنت وشغل المود يا عاشق المود مافيه لا ملف واحد الي هو server
×
×
  • Create New...