Jump to content

Professional

Members
  • Posts

    1,101
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Professional

  1. addEventHandler( "onColShapeHit", resourceRoot, function ( element ) if ( getElementType ( element ) == "player" ) then f source == colshape then f elemnt== player then end end ) كذا يصير اخي زاحف؟
  2. ممكن فنكش ان بس لاعب يحرك الكاميرا لليمين الاعب يحرك راسه قصدي الشخصيه
  3. بس ما يشتغل يبي ماركر يمكن لاني حاططها مع ملفات المقر ؟؟
  4. ما شاء الله كانه فهم عليك شايفين فهمه بثانيه
  5. طيب اعمل الكود بعدين انتحر كيف تبي شوف ذا ظبطه انا شوفه اذا منيح addEventHandler( "onColShapeHit", policeStation, function ( element ) if ( getElementType ( element ) == "player" ) then if ( getElementData ( element, "gang") ~= "Group Name" ) then setPlayerWantedLevel ( element, 6 ) outputChatBox ("** [ "..getPlayerName ( element ).." ] دخل مقر سوات", root, 255, 255, 0, true ) end end end )
  6. شوفو هذا اذا الصح local myMarker = createMarker(2491.8000488281,-1671.4000244141,15.10000038147, 'cylinder', 2.0, 255, 0, 0, 150) addEventHandler( "onMarkerHit", marker, if (getElementType(player) == ("player")) then if ( getElementData(player, "Group" ) ~= "Hassan" ) then setPlayerWantedLevel ( thePlayer, 6 ) outputChatBox ( getPlayerName ( thePlayer ) .. " لقد اصبح عندك 6 نجوم بسبب ..... " ) end end
  7. يعني كذا يصير الكود local myMarker = createMarker(2491.8000488281,-1671.4000244141,15.10000038147, 'cylinder', 2.0, 255, 0, 0, 150) addEventHandler ( "onMarkerHit", marker1 , movingObject ) function ( thePlayer ) if getElementType ( hitElement ) == 'player' then setPlayerWantedLevel ( thePlayer, 6 ) outputChatBox ( getPlayerName ( thePlayer ) .. " لقد اصبح عندك 6 نجوم بسبب ..... " ) end end
  8. يعني كذا يصير+كودي قصدي اول ما لاعب يلمس الماركر احداثياتها يصير عنده 6 نجوم ومو من راسي جايبهم لاني مو انا صانعهم addEventHandler ( "onMarkerHit", marker1 , movingObject ) local myMarker = createMarker(2491.8000488281,-1671.4000244141,15.10000038147, 'cylinder', 2.0, 255, 0, 0, 150) function ( thePlayer ) setPlayerWantedLevel ( thePlayer, 6 ) outputChatBox ( getPlayerName ( thePlayer ) .. " لقد اصبح عندك 6 نجوم بسبب ..... " ) end end
  9. فيه مود يطلع لك لوحه الاعبين تحط عليه ارسال فلوس ويرسل للاعب الي تبيه
  10. اول شيئ الماركر اول ما يروح الماركر لي حاطتها انا بس يلق الماركر يصير عنده 6 نجوم ويقله في شات تم اعطائك ست نجوم بسبب,,,
  11. تبي تحط الايدي في تاب انت جايبه من صديقك وكثير... اما اهون لك عمل لائحه فيها اسماء الاعبين وتحط الفلوس وارسال
  12. شوفولي هنا انا حطات ان اول ما واحد يلق الماركر لي انا حطيتها يصير عنده 6 نجوم انا حطات الاحداثيات function ( thePlayer ) createMarker (x, z, y) setPlayerWantedLevel ( thePlayer, 6 ) outputChatBox ( getPlayerName ( thePlayer ) .. " لقد اصبح عندك 6 نجوم بسبب ..... " ) end end
  13. طيب كذا يصير؟ function stats (player) local x, y, z = getElementPosition( player ) veh = createVehicle ( 411, x, y, z ) stats = setVehicleLightState ( veh, 0, 1 ) warpPedIntoVehicle ( player, veh) end addCommandHandler("lights",stats) ممكن تعديل اخليه بس لسياره الشرطه وبدون كلمه باف 8
  14. ممكن تقلي شو مشكله ذا الكود هو انا حاطه مثل سفتي لشرطه ابيه انا حاطه يحط عند الاضاء قدام السياره لون احمر وازرق ابيه بس يشغل بحرف الاتش السفتي يصير يعمل احمر وازرق الكود bindKey ( "H") function ( thePlayer, command, red, green, blue ) red = tonumber ( red ) blue = tonumber ( blue ) if(not color) then setVehicleHeadLightColor(theVehicle,596) setVehicleHeadLightColor(theVehicle,598) setVehicleHeadLightColor(theVehicle,497) setVehicleHeadLightColor(theVehicle,599) setVehicleHeadLightColor(theVehicle,601) setVehicleHeadLightColor(theVehicle,490) setVehicleHeadLightColor(theVehicle,528) setVehicleHeadLightColor(theVehicle,601) end end ) لا تقولو خبيصه هه
  15. قصدي انه اول ما نعطيه خلاط للاعب يعطيه اما بس يموت يشيل منه الخلاط لهيك حطيتها في النص
  16. طيب ممكن تقلي الحين عملت كود ان مثلا فيني اوزع خلاطات لسيرفر شوفه function () giveWeapon ( source, 38, 500 ) outputConsole ( "تم اعطائك الخلاط ايها الاعب", thePlayer ) addEventHandler ( "onPlayerDamage", getRootElement(), headshotKill ) function() utputConsole ( "تم سحب الخلاط منك بسبب موتك ايها الاعب", thePlayer ) takeWeapon( thePlayer, 38 ) end end ) صح ولا لا؟؟
  17. السلام عليكم عملت كود ان اول ما لاعب يدخل سيرفر يعطيه الاشياء لي حطيتها ممكن تصححوه مو عم يشتغل صحيح الكود addEventHandler ( "onPlayerJoin", function () outputChatBox ( "Welcome " .. joinedPlayerName .. " to ".. سيرفر .."!" , source, 255, 255, 255 ) setPlayerMoney (root,1000) ooutputChatBox( "تم اعطائك نقود" ) setPlayerTeam ( source, NoTeam ) outputChatBox( "لقد تم نقلك الى : " Team... ) local armor = getPedArmor ( me ) outputChatBox( "Your armor: " .. armor ) getPedWeapon(id,38) end end end ) وطبعا ابي الكود مره واحد يعطي الاعب الفلوس وكذا مو كل ما يدخل فقط مره اعطوني الفنكش
  18. افلك ابي الفنكشات انا +وين احدد الارض الي ابيها
  19. اريد انا الفنكش لا اقول لك اريد التعلم خلاص هات الفنكش وبس لي ما يبي يعطيني خلاص
  20. السلام عليكم شوفولي الكود اذا صحبح عباره عن اذا كبست زر تيجي السياره الي طلبتها bindKey ( player, "R", "down", funcInput ) if createVehicle( model,576) local x, y, z = getElementPosition( thePlayer );
  21. قصدي انا اريد الفنكشات وانا الي اصنعه ما ابي اقلد ممكن
×
×
  • Create New...