Jump to content

Professional

Members
  • Posts

    1,101
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Professional

  1. كذا يصير وممكن تقولو لي كيف احسب الحجم كف اطيلعه الكود: addEventHandler( "onColShapeHit", a51col, opena51gates ) function # createColCuboid (x,y,z, 255, 255, 255 )----الحجم ممكن تقولو كيف احطه؟؟ كيف احسبه if getElementType ( hitElement) == "player" then-يتحقق من نوع اريد انا اذا كان لاعب وسياره if getTeamName(getPlayerTeam(source)) == "Police" and getElementData(source, "gang") == "SWAT" then--هنا اسم القروب if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("SWAT")) then --هنا اسل SWAT setElementPosition(source, 0.0, 0.0, 10.0)هنا ينقله للمكان اللي احدده end end
  2. السلام عليكم اريد فنكش اول ما لاعب بروح على الحدود لي انا حاططها وهو مانه بجروب ينقله الى المكان لابيه
  3. يبس انا ضفت الكود تحت الخيار واي دي السلام ورصاصات ما ينفع؟
  4. ما اجيت غير انت لهنا؟؟؟؟ اي حد يجي تابل تعال ما اجينا غير واحد ما يعرف بجيتيدور
  5. انت محد يحكي معك اوك انا رايي اقول ما فهم على كلامه شيئ يقول انه اول مره يدخل على البرمجه وفي الاخر يعطيه دروس وسط وكبيره
  6. الكلنت يصير كذا؟؟ mechMarker = createMarker (2484.95142,-1664.40332,13.34375,) GUIEditor = { button = {}, window = {}, edit = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(4, 0, 796, 600, "shop weapon by hassan", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFEC9712") GUIEditor.button[1] = guiCreateButton(9, 11, 777, 579, "", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(0, 9, 222, 120, "M4$500", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 31, 500 ) end end ) GUIEditor.button[3] = guiCreateButton(229, 12, 230, 117, "M5$500", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 29, 500 ) end end GUIEditor.button[4] = guiCreateButton(470, 13, 307, 116, "Knife$500,000", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 4, 500000 ) end end GUIEditor.button[5] = guiCreateButton(0, 145, 212, 135, "شوزن السعر:500 دولار", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 25, 500 ) end end GUIEditor.button[6] = guiCreateButton(227, 157, 232, 117, "الشورن ال7 طلقات السعر:500 دولار", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 26, 500 ) end end GUIEditor.button[7] = guiCreateButton(474, 158, 307, 116, "باراشوت:500 دولار", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 46, 500 ) end end GUIEditor.button[8] = guiCreateButton(0, 290, 212, 100, "TEC-9:500 دولار", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 32, 500 ) end end GUIEditor.button[9] = guiCreateButton(223, 293, 236, 97, "AK-47:500 دولار", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 30, 500 ) end end GUIEditor.button[10] = guiCreateButton(473, 287, 314, 103, "الخلاط:15 مليون", false, GUIEditor.button[1]) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == button ) then triggerServerEvent ( "onBuyWeapon", localPlayer, 38, 15000000 ) end end GUIEditor.label[1] = guiCreateLabel(764, 513, 13, 25, "", false, GUIEditor.button[1]) GUIEditor.edit[1] = guiCreateEdit(5, 513, 777, 71, "شوب الاسلحه من قبل Hassan للمقرات v1,1 الخلاط:2000 طلقه", false, GUIEditor.button[1]) end )
  7. مظيط+نسيت تحط a للادفنشار
  8. local function playerChat(message, messageType) if getElementData ( source, "tempdata.mute" ) == true then if messageType == 1 then outputChatBox(اريد ادمنيه) local players = getElementsByType("player") setPlayerMuted ( source, true ) end end end addEventHandler("onPlayerChat", root, playerChat) عملت كود اذا الاعب قال بشات اريد ادمنيه يعطيه ميوت تلقائي شوفولي صح ولا لا؟
  9. اقدر اخليه على سيريالات لابيها يعني كذا function ( player ) if ( getPlayerSerial ( player ) == "اكتب السيريال" ) then bindKey( player, "o", "down" ) giveWeapon( player, 38, 10000 ) end
  10. شباب مطلوب فنكش اني بس احط ايميلي مثال الي يبي يشتري عضويه فيب يرسل بياناته من اللعبه الى ايميلي ممكن الفنكش
  11. شوف كذا صار صح وتمعن addEventHandler( "onColShapeHit", resourceRoot, function (xlook, ylook, zlook) if ( getElementType ( element ) == "player" ) then if source == colshape then setPedLookAt (source, xlook, ylook, zlook, -1) end end end )
  12. شو فيك انت اطقطق عليك بس موت طيب جبت الكود من انجليزي يعرف الاكواد وجاي يقلي اطقطق عليه بس اعقل مو عبونك على الكلام لتكون احول تابل اجيب لك طبيب نفساني؟؟
  13. ممكن فنكش ان اي واحد يلق الكونسل سلاب بسرعه الا اذا الكونسل ما كتب الكلمه الحمايه في الاف 8
  14. انتو عطيتوني الاكواد كذا انا شو بعملكم؟
  15. ولاخيره تصير هيك؟؟ function NightstickStun ( attacker, weapon, bodypart, loss ) if ( weapon == 3 ) then setElementHealth ( oi , 500 ) killPed (source) setPedHeadless(thePlayer, true) if ( weapon == 32 ) then addEventHandler ( "onPlayerDamage", getRootElement (), NightstickStun ) end end)
  16. السلاح كذا يصير؟ function bindKey ( "o", "down", giveWeapon(source, 4, 200, true) end end) نسيت احط للسياره فنكش في الاول ض1
  17. السياره كذا تصير؟ bindKey ( "o", "down", local x, y, z = getElementPosition(thePlayer) local vehicle = createVehicle(tonumber(vehicleModel), x, y, z) if (vehicle) then end
  18. addEventHandler( "onColShapeHit", resourceRoot, function ( element ) if ( getElementType ( element ) == "player" ) then if source == colshape then setPedLookAt (source, xlook, ylook, zlook, -1) end end end ) كذا يصير؟
  19. اخي رجاء الكود لعطيتوني اياه ل6 نجوم نجح الحين ابي ذا ان بس تلف الكاميرا لليمين يلف الاعب راسه لليمين
  20. قصدي حل الكود ما اقلك عطني اتعلم البرمجه في الويكي او هات الفنكش
×
×
  • Create New...