Dr.Xen Posted January 2, 2014 Share Posted January 2, 2014 (edited) السلام عليكم ورحمة الله وبركاته ابيكم تعدلو لي الكود .. elseif ( source == health1 ) or ( source == health2 ) or ( source == health3 ) or ( source == health4 ) then if getElementData( hPlayer, 'Group' ) == groupName then setPedArmor( hPlayer, 200 ) setElementHealth( hPlayer, 100 ) fixVehicle( getPedOccupiedVehicle( hPlayer ) ) addVehicleUpgrade ( element, 1010 ) setVehiclePaintjob ( element, 2 ) end اذا لمست يعبي دمي ودرعي واقدر اضرب كراتيكر وزي كذا Edited January 2, 2014 by Guest Link to comment
al-Kobra Posted January 2, 2014 Share Posted January 2, 2014 (edited) marker = createMarker (877.19921875,-2098,13.800000190735, "cylinder", 2, 255, 0, 255, 255 ) addEventHandler ( "onMarkerHit", marker, function ( hitElement ) if hitElement == localPlayer then if getElementType ( hitElement ) == "hitElement" then if getElementData( hitElement ,'gang') == '[ARMY]' then setElementHealth ( hitElement, 100 ) setPedArmor ( hitElement, 100 ) setPedSkin ( hitElement, 230 ) else outputChatBox ( "* You most be [ARMY]Group ", hitElement, 0, 0, 255, true ) end end end end ) وش كراتيكر ؟ Edited January 2, 2014 by Guest Link to comment
Dr.Xen Posted January 2, 2014 Author Share Posted January 2, 2014 لو تضغط كلك يمين من الماوس وحرب ب يتغير الحركة Link to comment
iMr.Dawix~# Posted January 2, 2014 Share Posted January 2, 2014 marker = createMarker (877.19921875,-2098,13.800000190735, "cylinder", 2, 255, 0, 255, 255 ) addEventHandler ( "onMarkerHit", marker,function ( hitElement ) if getElementType ( hitElement ) == "player" then if getElementData( hitElement ,'gang') == '[ARMY]' then setElementHealth ( hitElement, 100 ) setPedArmor ( hitElement, 100 ) setPedSkin ( hitElement, 230 ) else outputChatBox ( "* You most be [ARMY]Group ", hitElement, 0, 0, 255, true ) end end end ) Link to comment
al-Kobra Posted January 2, 2014 Share Posted January 2, 2014 لو تضغط كلك يمين من الماوس وحرب بيتغير الحركة لو تضرب الكابس لوك + F بتتغير الحركة + جرب الكود Link to comment
Dr.Xen Posted January 2, 2014 Author Share Posted January 2, 2014 اسمه كذا Fightine Style تحصل في Set stats Link to comment
Dr.Xen Posted January 2, 2014 Author Share Posted January 2, 2014 elseif ( source == health1 ) or ( source == health2 ) or ( source == health3 ) or ( source == health4 ) then if getElementData( hPlayer, 'Group' ) == groupName then setPedArmor( hPlayer, 200 ) setElementHealth( hPlayer, 100 ) fixVehicle( getPedOccupiedVehicle( hPlayer ) ) addVehicleUpgrade ( element, 1010 ) setVehiclePaintjob ( element, 2 ) end الكود ذا شغال معي ممكن تعدل على ذا @ Link to comment
al-Kobra Posted January 2, 2014 Share Posted January 2, 2014 elseif ( source == health1 ) or ( source == health2 ) or ( source == health3 ) or ( source == health4 ) then if getElementData( hPlayer, 'Group' ) == groupName then setPedArmor( hPlayer, 200 ) setElementHealth( hPlayer, 100 ) fixVehicle( getPedOccupiedVehicle( hPlayer ) ) addVehicleUpgrade ( element, 1010 ) setVehiclePaintjob ( element, 2 ) end الكود ذا شغال معي ممكن تعدل على ذا @ وش تبي اسوي فيه ؟ Link to comment
Dr.Xen Posted January 2, 2014 Author Share Posted January 2, 2014 تحط في حركة حق Fightine Style لو دخلت لوحة ادمننية تحصل Set stats ولو دخلت عليه تحصل Fightine Style ابي اغير حركة الضرب يعني لو لمست الماركر يتغير حركته Link to comment
al-Kobra Posted January 2, 2014 Share Posted January 2, 2014 (edited) --Server Side marker = createMarker (877.19921875,-2098,13.800000190735, "cylinder", 2, 255, 0, 255, 255 ) addEventHandler ( "onMarkerHit", marker, function ( hitElement ) if ( hitElement ) == localPlayer then if getElementType ( hitElement ) == "hitElement" then if getElementData( hitElement ,'gang') == '[ARMY]' then setElementHealth ( hitElement, 100 ) setPedArmor ( hitElement, 100 ) setPedSkin ( hitElement, 230 ) setPedFightingStyle ( hitElement, 6 ) else outputChatBox ( "* You most be [ARMY]Group ", hitElement, 0, 0, 255, true ) end end end end ) جربه ,, ما اتوقع يضبط Edited January 2, 2014 by Guest Link to comment
#Al-Ha[J]aRii Posted January 2, 2014 Share Posted January 2, 2014 (edited) local marker = createMarker (877.19921875,-2098,13.800000190735, "cylinder", 2, 255, 0, 255, 255 ) addEventHandler ( "onMarkerHit", root, function ( hitElement ) if ( source == marker ) then if getElementType ( hitElement ) == "player" then if getElementData( hitElement ,'gang') == '[ARMY]' then setElementHealth ( hitElement, 100 ) setPedArmor ( hitElement, 100 ) setPedSkin ( hitElement, 230 ) setPedFightingStyle ( hitElement, 6 ) else outputChatBox ( "* You most be [ARMY]Group ", hitElement, 0, 0, 255, true ) end end end end ) Edited January 2, 2014 by Guest Link to comment
al-Kobra Posted January 2, 2014 Share Posted January 2, 2014 (edited) جربه الحين Edited January 2, 2014 by Guest Link to comment
#Al-Ha[J]aRii Posted January 2, 2014 Share Posted January 2, 2014 مازبط @ local marker = createMarker (877.19921875,-2098,13.800000190735, "cylinder", 2, 255, 0, 255, 255 ) addEventHandler ( "onMarkerHit", root, function ( hitElement ) if ( source == marker ) then if getElementType ( hitElement ) == "player" then if getElementData( hitElement ,'gang') == '[ARMY]' then setElementHealth ( hitElement, 100 ) setPedArmor ( hitElement, 100 ) setPedSkin ( hitElement, 230 ) setPedFightingStyle ( hitElement, 6 ) else outputChatBox ( "* You most be [ARMY]Group ", hitElement, 0, 0, 255, true ) end end end end ) جرب ذا عدلت ردي فوق ! Link to comment
Dr.Xen Posted January 2, 2014 Author Share Posted January 2, 2014 مازبط .. عدل على ذا يمكن يزبط elseif ( source == health1 ) or ( source == health2 ) or ( source == health3 ) or ( source == health4 ) then if getElementData( hPlayer, 'Group' ) == groupName then setPedArmor( hPlayer, 200 ) setElementHealth( hPlayer, 100 ) fixVehicle( getPedOccupiedVehicle( hPlayer ) ) addVehicleUpgrade ( element, 1010 ) setVehiclePaintjob ( element, 2 ) end Link to comment
#Al-Ha[J]aRii Posted January 2, 2014 Share Posted January 2, 2014 مازبط ..عدل على ذا يمكن يزبط elseif ( source == health1 ) or ( source == health2 ) or ( source == health3 ) or ( source == health4 ) then if getElementData( hPlayer, 'Group' ) == groupName then setPedArmor( hPlayer, 200 ) setElementHealth( hPlayer, 100 ) fixVehicle( getPedOccupiedVehicle( hPlayer ) ) addVehicleUpgrade ( element, 1010 ) setVehiclePaintjob ( element, 2 ) end شدخل هذه مامنه وكيف بيضبط ؟ وهو مافيه فكشن واصلن بقده غلط هذه حق يصلح سيارة و يضيف لها نايترو مدري وش ويخلي صبغتها مدري وش انت متأكده لانك في قروب اسمه [ARMY] ? المهم شنو الي مازبط اكتب في اف 8 debugscript 3 وسو رستارت للمود وقل لي وش يقول Link to comment
iMr.Dawix~# Posted January 2, 2014 Share Posted January 2, 2014 انت يمكن مود القروبات عندك مختلف الألمنت داتا جرب ذا marker = createMarker (877.19921875,-2098,13.800000190735, "cylinder", 2, 255, 0, 255, 255 ) addEventHandler ( "onMarkerHit", marker,function ( hitElement ) if getElementType ( hitElement ) == "player" then if getElementData( hitElement ,'Group') == '[ARMY]' then setElementHealth ( hitElement, 100 ) setPedArmor ( hitElement, 100 ) setPedSkin ( hitElement, 230 ) setPedFightingStyle(hitElement,6) else outputChatBox ( "* You most be [ARMY]Group ", hitElement, 0, 0, 255, true ) end end end ) او ذا marker = createMarker (877.19921875,-2098,13.800000190735, "cylinder", 2, 255, 0, 255, 255 ) addEventHandler ( "onMarkerHit", marker,function ( hitElement ) if getElementType ( hitElement ) == "player" then if getElementData( hitElement ,'gang') == '[ARMY]' then setElementHealth ( hitElement, 100 ) setPedArmor ( hitElement, 100 ) setPedSkin ( hitElement, 230 ) setPedFightingStyle(hitElement,6) else outputChatBox ( "* You most be [ARMY]Group ", hitElement, 0, 0, 255, true ) end end end ) Link to comment
Dr.Xen Posted January 2, 2014 Author Share Posted January 2, 2014 debugscript: Syntax is 'debugscript ' والكود الي فوق هي وظيفته تصلح سيارات+تعبئة دم +درع واشياء ذي Link to comment
iMr.Dawix~# Posted January 2, 2014 Share Posted January 2, 2014 debugscript: Syntax is 'debugscript 'والكود الي فوق هي وظيفته تصلح سيارات+تعبئة دم +درع واشياء ذي اذا تبي تشوف كل الدي بق تكتب debugscript 3 وشوف ردي فوق -.- Link to comment
Dr.Xen Posted January 2, 2014 Author Share Posted January 2, 2014 وبعد كل ذا التعب اخيرنأً iMr.Dawix~# جزاك الله خير يأ< مشكور على الرد زبط مشكورين Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now