Jump to content

ALw7sH

Members
  • Posts

    1,165
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by ALw7sH

  1. النافذه مانصنعت للحين يعني الايفنت حقك للحين ماستخدمته (showEMW)
  2. الي في الصوره مو هاذهو الي في الصوره انا مسويه من الصفر
  3. ALw7sH

    [HELP] Video

    Actully it haven't been fully released yet, as i know there's no a release date yet
  4. مشكلتك أنك تتعامل معى شخص مو ثقه ماتوقع احد يقدر سويلك شي الا لو رسلت له الفلوس باي بال تقدر ترفع عليه شكوى انك شريت منه شي واخذ الفلوس بدون مايعطيك شي
  5. وجهة نظر لو الحمايه بكل ذي السهوله ماتعطلت سيرفرات سوني واكس بوكس
  6. بالضبط, الي سوا المود وظفوه الشركه عندهم بسبب الاقبال الكبير للمود وانتجو كامله للمود
  7. It may be TXD problem not DFF problem
  8. ALw7sH

    Easy error...

    You are compare string with element getTeamFromName return the team element getTeam name return the name name So it should be function ballas(cmd, plr) veh = createVehicle(567, 2194.4052734375, -1382.0394287109, 24.62880897522, 0, 0, 90, "DB "..math.random(1,9)..math.random(1,9)..math.random(1,9)..math.random(1.9)) vehm = getElementModel(veh) plr = getLocalPlayer() setElementFrozen(veh, true) tim = getPlayerTeam(plr) teamname = getTeamName(tim) if teamname == "BALLAS" then setVehicleColor(veh, 128, 0, 192) elseif teamname == "GROVES" then setVehicleColor(veh, 64, 160, 16) elseif teamname == "LATINOS" then setVehicleColor(veh, 0, 0, 0) end end addCommandHandler("tests", ballas) or function ballas(cmd, plr) veh = createVehicle(567, 2194.4052734375, -1382.0394287109, 24.62880897522, 0, 0, 90, "DB "..math.random(1,9)..math.random(1,9)..math.random(1,9)..math.random(1.9)) vehm = getElementModel(veh) plr = getLocalPlayer() setElementFrozen(veh, true) tim = getPlayerTeam(plr) if tim == getTeamFromName("BALLAS") then setVehicleColor(veh, 128, 0, 192) elseif tim == getTeamFromName("GROVES") then setVehicleColor(veh, 64, 160, 16) elseif tim == getTeamFromName("LATINOS") then setVehicleColor(veh, 0, 0, 0) end end addCommandHandler("tests", ballas)
  9. لو ماقدرت تفهم الفنكشن الي عطوك فيه طريقه ثانيه بس الحركه مابتكون فيها ايفكتات نفس الفنكشن local y = 0-50 addEventHandler("onClientRender",root, function() y = math.min(200,y+5) dxDrawRectangle(200,y,25,50) end )
  10. local Cars = { [411] = "انفرنس", [522] = "nrg", } function updateGridList() local data = getElementData(localPlayer, "VehicleInfo") if data then local rw, cl = guiGridListGetSelectedItem(grid2) guiGridListClear(grid2) for i, data in ipairs (data) do local carName = Cars[tonumber(data["Model"])] or getVehicleNameFromModel(data["Model"]) local ID = data["ID"] local Cost = data["Cost"] local HP = math.floor(data["HP"]) local PreCost = math.ceil(Cost*.9*HP/100/10) local row = guiGridListAddRow(grid2) guiGridListSetItemText(grid2, row, 1, carName, false, true) guiGridListSetItemData(grid2, row, 1, ID) guiGridListSetItemText(grid2, row, 2, PreCost, false, true) guiGridListSetItemText(grid2, row, 3, HP.." HP", false, true) end guiGridListSetSelectedItem(grid2, rw, cl) end end
  11. ALw7sH

    Help-me pls?

    Post all your client&server codes and explain better what you wanna do otherwise idon't think anyone can help you
  12. Then you need to trigger server side to decreases player health/armor and that's kinda wired players with bad connection gonna see the health updating abit slow
  13. You can't cancel the player damage on server-side
  14. It's possible but it will take more than just draw pictures (CPU)
  15. You can make them more than 200 and 100 set element data to the player with the health or armor you want on player damage check if the health data more that player health cancel the event Something like that: (Haven't tested it) function setElementHealth2(player,h) assert(player and getElementType(player) == "player","Bad argument @ 'setElementHealth2'") assert(h and type(h) == "number","Bad argument @ 'setElementHealth2'") return setElementData(player,"health",h) -- set the element health data end function setElementArmor(player,a) assert(player and getElementType(player) == "player","Bad argument @ 'setElementArmor'") assert(a and type(a) == "number","Bad argument @ 'setElementArmor'") return setElementData(player,"armor",a) -- set the element armor data end function getElementHealth2(player) assert(player and getElementType(player) == "player","Bad argument @ 'getElementHealth2'") return getElementData(player,"health") or 0 end function getElementArmor(player) assert(player and getElementType(player) == "player","Bad argument @ 'getElementArmor'") return getElementData(player,"armor") or 0 end addEventHandler("onClientPlayerDamage",root, function(_,_,_,loss) if loss then local armor = getElementArmor(source) if armor > 0 then if loss > armor then setElementArmor(source,0) setElementHealth(source,loss-armor) cancelEvent() else setElementArmor(source,armor-loss) cancelEvent() end else local health = getElementHealth(source) local health2 = getElementHealth2(source) if health2 > health then if loss > health2 then setElementHealth2(source,0) setElementHealth(source,loss-health2) cancelEvent() else setElementHealth2(source,health2-loss) cancelEvent() end else setElementHealth2(source,health2-loss) end end end end )
  16. ovh لحد ألان افضل شركة توفر حمايه ديدوس لخوادمها بالنسبه لي هي ماتقدر تقول انه مستحيل يتأثر لانه كل حمايه لها لمت بس تقدر تقول انك بتفتك من 99% من الاطفال الي يهجم بخادمه او يشتري خادم للديدوس للديدوس اقوا من سرعة الانترنت حق 90% من الخوادم العاديه ovh لانه حمايه الا لو طحت بناس نفس ليزرد تيم عاد الله يعينك لول
  17. xml استخدم فنكشنات ال https://wiki.multitheftauto.com/wiki/Cl ... _functions كود كامل مابتستفيد منه شي الا اذا ماكنت تبي تتعلم برمجه
  18. You should be able to write fx shaders, if you are not planning to learn fx and you just want that for something you are making there's script on the community called blur_box or something like that you can use it
  19. You won't learn anything with a ready full codes everytime try to write codes by yourself and we'll help if you face any problems
  20. ALw7sH

    DELETE THIS

    Just use https://luac.multitheftauto.com and/or https://community.multitheftauto.com/index.php?p= ... ls&id=9219
  21. it's engineRemoveShaderFromWorldTexture not engineRemoveShaderToWorldTexture
  22. xmlLoadFile xmlCreateFile -- اذا ماصار لود للأكس ام ال اصنع واحد xmlCreateChild xmlNodeSetValue حاول وبنصحح لك لو اخطأت
×
×
  • Create New...