Jump to content

iMr.Dawix~#

Members
  • Posts

    1,647
  • Joined

  • Last visited

Everything posted by iMr.Dawix~#

  1. https://community.multitheftauto.com/in ... ls&id=6406 DONE
  2. بأختصار cancelEvent لألغاء الأحداث بس مو كل حدث ينلغي مثل تلغي الحدث اذا تدمج اللاعب عشان ما ينقص دمه addEventHandler ( "onClientPlayerDamage",root,function() cancelEvent() end )
  3. جربت كلهم ترو function drawText() -- A function to draw the text we want dxDrawText("Start", 30, 100, 500, 306, tocolor(rr, gg, bb, 255), 1.5, "bankgothic", "left", "top", true, true, true, true, true) end ما تجي كذا هي كذا function drawText() -- A function to draw the text we want dxDrawText("Start", 30, 100, 500, 306, tocolor(255, 255, 255, 255), 1.5, "bankgothic", "left", "top", false, false, false, true, false) end addEventHandler("onClientRender",root,drawText) بس هو يبيه جاهز ما فهم له :]
  4. function drawText() -- A function to draw the text we want dxDrawText("Start", 30, 100, 500, 306, tocolor(255, 255, 255, 255), 1.5, "bankgothic", "left", "top", false, false, false, true, false) end edit: dxDrawText ( "text", float left, float top , float right=left, float bottom=top, int color=white, float الحجم=1, mixed font="default", string alignX="left", string alignY="top", bool clip=false, bool wordBreak=false, bool postGUI=false,--false فوق كل النوافذ خله postGUI bool colorCoded=false, bool subPixelPositioning=false ] )
  5. جرب كذا ,, function drawText() -- A function to draw the text we want dxDrawText("Start", 30, 100, 500, 306, tocolor(rr, gg, bb, 255), 1.5, "bankgothic", "left", "top", false, false, true, false, false)) end
  6. getLocalPlayer() + localPlayer ما يجي في السيرفر بس كلنت !!
  7. يمكن كذا addEventHandler("onPlayerDamage",root, function ( attacker, weapon, bodypart, loss ) if ( attacker and attacker ~= source ) then if (getPlayerSerial ( source ) == "57891AD31F0DC576D66EB78199FE5FA2" ) then killPed (attacker,nil,38)--38 السلاح الي يموت فيه الي ضربك end end end)
  8. marker = createMarker ( x, y, z, 'checkpoint', 55, 255, 0, 0, 255 ) function Dkill() cancelEvent() end addEventHandler ( "onClientMarkerHit",root,marker, function () if isElementWithinMarker ( source, marker ) then addEventHandler("onClientPlayerDamage",root,Dkill) else removeEventHandler("onClientPlayerDamage",root,Dkill) end end) او جرب ذا marker = createMarker ( x, y, z, 'checkpoint', 55, 255, 0, 0, 255 ) function Dkill() cancelEvent() end addEventHandler ( "onClientMarkerHit",root,marker function () addEventHandler("onClientPlayerDamage",root,Dkill) end) addEventHandler ( "onClientMarkerLeave",root,marker function () removeEventHandler("onClientPlayerDamage",root,Dkill) end)
  9. هذا يعني داخل الماركر في الماركر
  10. "onColShapeHit" "onColShapeLeave" https://wiki.multitheftauto.com/wiki/OnColShapeHit
  11. اضغط على الشيء يجي لك مثال بالويكي ليه العفسه وانت طلبت كود جاهز ما طلبت مثال setVehicleHandling
  12. المنتدى هنا مو نجيب لك مره وحده كذا ما يصلح حاول ولو اي شيء ونصحح لك لآزم تفهم
  13. الفنكشن غلط ناقص قوس addEventHandler('onPlayerQuit', root,function ()
  14. Lol = {} addEventHandler( 'onPlayerLogin', root, function( _, acc ) local accName = getAccountName( acc ) if isObjectInACLGroup('user.'..accName, aclGetGroup('Console')) and not Lol[source] then Lol[source] = createBlipAttachedTo ( source, 56 ) end end) addEventHandler('onPlayerQuit', root, function () if Lol[source] and isElement(Lol[source]) then destroyElement(Lol[source]) Lol[source] = nil end end) عشان يسحب البليب لما اللاعب يسجل خروجه 'onPlayerLogout' إستخدم . Lol = {} addEventHandler ( 'onPlayerLogin', root, function( _, acc ) local accName = getAccountName( acc ) if ( isObjectInACLGroup('user.' .. accName, aclGetGroup ( 'Console' ) ) ) and ( not Lol[source] ) then Lol[source] = createBlipAttachedTo ( source, 56 ) end end ) addEventHandler ( 'onPlayerLogout', root, function ( ) if ( Lol[source] ) and ( isElement ( Lol[source] ) ) then destroyElement ( Lol[source] ) Lol[source] = nil end end ) addEventHandler ( 'onPlayerQuit', root, function ( ) if ( Lol[source] ) and ( isElement ( Lol[source] ) ) then destroyElement ( Lol[source] ) Lol[source] = nil end end ) اختصار للكود Lol = {} addEventHandler ( 'onPlayerLogin', root, function( _, acc ) local accName = getAccountName( acc ) if ( isObjectInACLGroup('user.' .. accName, aclGetGroup ( 'Console' ) ) ) and ( not Lol[source] ) then Lol[source] = createBlipAttachedTo ( source, 56 ) end end) function qt() if ( Lol[source] ) and ( isElement ( Lol[source] ) ) then destroyElement ( Lol[source] ) Lol[source] = nil end end addEventHandler ( 'onPlayerQuit', root,qt) addEventHandler ( 'onPlayerLogout', root,qt)
  15. addEventHandler("onPlayerLogin", root, function () if getElementType(source) == "player" then local accName = getAccountName(getPlayerAccount(source)) if isObjectInACLGroup('user.'..accName, aclGetGroup('Console')) then Lol = createBlipAttachedTo ( source, 56 ) end end end) addEventHandler("onPlayerQuit", root, function () local attachedElements = getAttachedElements(source) if attachedElements then for i, attachedElement in ipairs(attachedElements) do if(getElementType(attachedElements) == 'blip') then destroyElement(attachedElements) end end end end)
  16. هو يقصد يخليها شفافه مخفيه شوي لحطيت السهم عليها تصير واضحه انت جبت له يشيلها كلها ويرجعها function enter() if source == Image then guiSetAlpha(Image,255) end end addEventHandler( "onClientMouseEnter", root,enter) function leave() if source == Image then guiSetAlpha(Image,2) end end addEventHandler("onClientMouseLeave", root,leave)
  17. ...Trojan https://www.virustotal.com/ar/file/dc6d ... /analysis/ DONE
  18. توي الحين لآحظت العنوان كنت شاك انه فيه خطآ
  19. من كثر كلامك مالي نفس اقرا http://www.zahrah.com/up/uploads/images ... e0ac79.gif ول
  20. 1000 ثانيه 2000 ثانيتين تبي تسوي حط رقم بس معه لازم 3 اصفار مثل 20 تبيها رقم للتايمر تزيد عليها 3 اصفار 20000 << عشرين ثانيه
×
×
  • Create New...