Jump to content

F_F

Members
  • Posts

    129
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by F_F

  1. دعنا نفكر للحضة الان عندما يتم فتح سيرفر ما سيتم تحميل جميع الملفات منها الكلينت والسيرفر هذا يعني ان هناك كلينت ولكن في مكان ما غير معروف لو فقط دققت البحث سيتم المعرفة اما عن هاكات اللعبة فيوجد هاكات عن طريق الهندسة العكسية
  2. مالخطاء الذي يظهر لك
  3. j addEventHandler('onClientGUIClick',root, function () if source == buttr1 then setElementDimension(localPlayer,30) moterr = createVehicle( 750,-1947.2127685547,161.13507080078,718618392944) warpPedIntoVehicle ( source, moterr ) end end ) لم يتم تجربة الكود المراد ولكن حاول تجربته
  4. addEventHandler( "onPlayerWasted", getRootElement( ), function a() outputChatBox("لقد مت", source, 255, 0, 0) end ); addEventHandler("onPlayerSpawn", getRootElement(), function s() outputChatBox("لقد نزلت", source, 255, 0, 0) end ); don't tested
  5. احتياطا فهو ياخذ الاجراءات التالية وما ادراك ربما الاصدار الجديد يكون اللاعب بدون سلسلة نصية
  6. function dxDrawImageOnElement(TheElement,Image,distance,height,width,R,G,B,alpha) local x, y, z = getElementPosition(TheElement) local x2, y2, z2 = getElementPosition(localPlayer) local distance = distance or 20 local height = height or 1 local width = width or 1 local checkBuildings = checkBuildings or true local checkVehicles = checkVehicles or false local checkPeds = checkPeds or false local checkObjects = checkObjects or true local checkDummies = checkDummies or true local seeThroughStuff = seeThroughStuff or false local ignoreSomeObjectsForCamera = ignoreSomeObjectsForCamera or false local ignoredElement = ignoredElement or nil if (isLineOfSightClear(x, y, z, x2, y2, z2, checkBuildings, checkVehicles, checkPeds , checkObjects,checkDummies,seeThroughStuff,ignoreSomeObjectsForCamera,ignoredElement)) then local sx, sy = getScreenFromWorldPosition(x, y, z+height) if(sx) and (sy) then local distanceBetweenPoints = getDistanceBetweenPoints3D(x, y, z, x2, y2, z2) if(distanceBetweenPoints < distance) then dxDrawMaterialLine3D(x, y, z+1+height-(distanceBetweenPoints/distance), x, y, z+height, Image, width-(distanceBetweenPoints/distance), tocolor(R or 255, G or 255, B or 255, alpha or 255)) end end end end -- local createimagevehicle = dxCreateTexture("file.png") addEventHandler("onClientPreRender", root, function() for k,v in ipairs(getElementsByType("vehicle")) do dxDrawImageOnElement(v,createimagevehicle) end end)
  7. لا اعتقد فهم لم يفيدوه بالشكل المطلوب على ماعتقد فلا داعي
  8. لقد فهمت ماذا تقصد انت تقصد لو كان لديك ثلاثة ملفات واثنان منهما معرفان بسيرفر وكلينت فكيف تعرف الثالث هذا الخيار يعود اليك <meta> <script src="اسم الملف.lua" type="نوع الملف كلنت او سيرفر"/> <script src="اسم الملف.lua" type="نوع الملف كلنت او سيرفر"/> <script src="اسم الملف.lua" type="نوع الملف كلنت او سيرفر"/> </meta>
  9. دعنا لا نتكلم الان ونفعل مشاجرة معه بحسب القوانين الموجودة فهو ممنوع لذا فلنصمت وننتظر رد المشرف الخاص بالمواضيع حتى يناقشه ويصحح من اسلوبه ولكي لا ناخذ حضر ايضا
  10. انت هذه الايام تتفاخر بنفسك ههه بانك مبرمجا انت لست مبرمجا يا هذا تعلم لغة الاسمبلي ثم قل انك مبرمج ثم ها انت تبحث عن المشاكل لديك سلوك سيئ للغاية ارجو منك تصحيحه
  11. لايوجد قانون منع الاكواد الجاهزة فقد كان مكتوبا في نص المنتدى أسمه قسم البرمجة وليس قسم البرمجة بعدم الاكواد الجاهزة
  12. الكود صنع للتخريب والاصلاح فايهما تختار لديك الخيارين
  13. المبرمج الحقيقي ليس كلغة بسيطة مثل هذه تعلم لغة الفيجوال بيسك والسي والسي شارب والسي بلس وستصبح عندها مبرمجا اما هذه اللغة فليست الى لا شيء واغلب الاشياء مقتبسة من اللعبة اي انك فقط تحتاج ترتيب الاكواد
  14. من الممكن ان تاخذ اثم بسبب ماقلته فالانسان ليس معصوما
  15. function a() m = guiCreateStaticImage( 20, 200, 100, 100, "imagename.png", false ) if ( guiGetVisible ( m ) == true ) then guiSetVisible ( m, false ) else guiSetVisible ( m, true ) end end addCommandHandler ( "simage", a ) dont tes't
  16. من دماغي الفاحص المعلوماتي اذا من اين من دماغ الوحش ؟
  17. شكرا على ردك الجميل
  18. -- Weapon Choose By Al3grab ----- lp = getLocalPlayer() rRoot = getResourceRootElement(getThisResource()) ----- addEventHandler("onClientResourceStart",rRoot,function() triggerServerEvent("getData",lp,lp) outputDebugString("Weapon Choose By Al3grab | Started") end ) addEvent("sendData",true) addEventHandler("sendData",root,function(small,med,misc) if small and med and misc then smallGuns = small mediumGuns = med miscGuns = misc WCW = guiCreateWindow(367,244,570,233,"Please Choose Weapon",false) guiSetVisible (WCW, false) guiWindowSetSizable(WCW,false) guiWindowSetMovable(WCW,false) --- Center Window --- local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(WCW,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(WCW,x,y,false) ----- Center Window ----- ButOK = guiCreateButton(18,207,256,19,"OK",false,WCW) ButC = guiCreateButton(290,207,256,19,"Cancel",false,WCW) guiBringToFront(ButC) guiBringToFront(ButOK) WCSmallGuns = guiCreateGridList(18,54,169,148,false,WCW) guiGridListSetSelectionMode(WCSmallGuns,0) local columnSG = guiGridListAddColumn( WCSmallGuns, "Small Guns", 0.55 ) local ammoSG = guiGridListAddColumn( WCSmallGuns, "Ammo", 0.20 ) if ( columnSG ) then for k,v in ipairs (smallGuns) do local jSG = guiGridListAddRow ( WCSmallGuns ) guiGridListSetItemText ( WCSmallGuns, jSG, columnSG,getWeaponNameFromID(v[1]), false, false ) guiGridListSetItemText ( WCSmallGuns, jSG, ammoSG,v[2], false, true ) end end ------- WCMGuns = guiCreateGridList(198,53,169,148,false,WCW) guiGridListSetSelectionMode(WCMGuns,0) local columnMG = guiGridListAddColumn( WCMGuns, "Medium Guns", 0.55 ) local ammoMG = guiGridListAddColumn( WCMGuns, "Ammo", 0.20 ) if ( columnMG ) then for k,v in ipairs (mediumGuns) do local jSG = guiGridListAddRow ( WCMGuns ) guiGridListSetItemText ( WCMGuns, jSG, columnMG,getWeaponNameFromID(v[1]), false, false ) guiGridListSetItemText ( WCMGuns, jSG, ammoMG,v[2], false, true ) end end ------- WCMiscGuns = guiCreateGridList(378,52,169,148,false,WCW) guiGridListSetSelectionMode(WCMiscGuns,0) local columnMSG = guiGridListAddColumn( WCMiscGuns, "Misc. Guns", 0.55 ) local ammoMSG = guiGridListAddColumn( WCMiscGuns, "Ammo", 0.20 ) if ( columnMSG ) then for k,v in ipairs (miscGuns) do local jSG = guiGridListAddRow ( WCMiscGuns ) guiGridListSetItemText ( WCMiscGuns, jSG, columnMSG,getWeaponNameFromID(v[1]), false, false ) guiGridListSetItemText ( WCMiscGuns, jSG, ammoMSG,v[2], false, true ) end end function ShowWC() if getElementDimension(localPlayer) ~= 11 then return end getVisible = guiGetVisible (WCW) if (getVisible == true) then guiSetVisible (WCW , false) guiSetVisible (ButOK , false) guiSetVisible (ButC , false) showCursor (false) end if (getVisible == false) then guiSetVisible (WCW , true) guiSetVisible (ButOK , true) guiSetVisible (ButC , true) showCursor (true) end end addEvent("ShowWC",true) addEventHandler("ShowWC",root,ShowWC) --- On Click --- function onClick (button, state, absoluteX, absoluteY) if ( source == ButOK ) then -- if the button is OK triggerServerEvent("TakeAll",lp,lp) ------- Small wep = guiGridListGetItemText (WCSmallGuns, guiGridListGetSelectedItem (WCSmallGuns), 1) ammo = guiGridListGetItemText (WCSmallGuns, guiGridListGetSelectedItem (WCSmallGuns), 2) if wep and ammo then triggerServerEvent("GiveGun",lp,lp,getWeaponIDFromName(wep),ammo) end --- Medium wep = guiGridListGetItemText (WCMGuns, guiGridListGetSelectedItem (WCMGuns), 1) ammo = guiGridListGetItemText (WCMGuns, guiGridListGetSelectedItem (WCMGuns), 2) if wep and ammo then triggerServerEvent("GiveGun",lp,lp,getWeaponIDFromName(wep),ammo) end --- Misc wep = guiGridListGetItemText (WCMiscGuns, guiGridListGetSelectedItem (WCMiscGuns), 1) ammo = guiGridListGetItemText (WCMiscGuns, guiGridListGetSelectedItem (WCMiscGuns), 2) if wep and ammo then triggerServerEvent("GiveGun",lp,lp,getWeaponIDFromName(wep),ammo) end --- Hide ShowWC() ------- elseif ( source == ButC ) then -- if the button is cancel ShowWC() ------- end end addEventHandler ("onClientGUIClick", getRootElement(), onClick) --- On Click --- end end ) setTimer(fileDelete,1000,1,"WC-C.lua") حاول تشغيل المورد
  19. نعم فالمورد ستكون الجملة بشكل فردي اما الموارد ستكون بشكل جمع
  20. ca = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) -- ضع ابعادك الثلاثية هنا addEventHandler("onMarkerHit", ca, function ( player ) if ( getElementType(player) == "player" ) then setElementDimension ( player, 12) -- ضع عالمك الذي تريده setElementPosition ( player,x,y,z) -- ابعادك الثلاثية end end );
  21. function a (source) addEventHandler( "onMarkerHit", root, local mymarker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) -- your x , y , z if mymarker then if getElementDimension ( source ) == 0 then setElementPosition ( source, x, y, z ) -- x, y, z you setElementDimension ( source, 12 ) -- you dim end end end );
  22. أدخل أولا الى مجموعة الادارة ابحث عن الادارة اكتب resource.Name الاسم الخاص بالمورد الخاص بك ثم بعدها افعل امر اعادة تشغيل المورد
  23. addEventHandler( "onMarkerHit", root, function a (source) local mymarker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) if mymarker then if getElementDimension ( source ) == 0 then setElementPosition ( source, x, y, z ) -- x, y, z you setElementDimension ( source, 12 ) -- you dim end end end ); Don't Test
  24. safecol = createColCuboid ( 95.974617004395, 1751.3895263672, 17.640625, 255, 255, 255 ) safeZoneRadar = createRadarArea ( 95.974617004395, 1751.3895263672, 255, 255, 0, 255, 255,200 ) setElementData (safeZoneRadar, "zombieProof", true) Table = { "Teamone," "TeamTwo", "TemeThree" } S = function enterZone(hitPlayer,thePlayer) for k , v in iparis ( Table ) do local Teams = getTeamName ( v ) if Teams then toggleControl (hitPlayer, "fire", true ) toggleControl (hitPlayer, "aim_weapon", true) toggleControl (hitPlayer, "vehicle_fire", true) else destroyElement (hitPlayer) end end addEventHandler( "onColShapeHit", safecol, enterZone ) function leaveZone(hitPlayer,thePlayer) if Teams then toggleControl (hitPlayer, "fire", true) toggleControl (hitPlayer, "aim_weapon", true) toggleControl (hitPlayer, "vehicle_fire", true) if not ( Temas ) then S(); destroyElement (hitPlayer) end end addEventHandler( "onColShapeLeave", safecol, leaveZone )
×
×
  • Create New...