DaHoM Posted August 9, 2017 Share Posted August 9, 2017 السلام عليكم ورحمة الله وبركاتة كيف الحال ان شاء الله بخير انا اليوم طالب منكم أكواد وانا شاء الله ما تقصرو معي ا بدي كود اقفال الماركر ويكون الكود خاص بأف8 , وبدي كود انو الاعب لما يوخذ من الماركر دم ما يقدر وخذ غير لما يموت Link to comment
+Source|> Posted August 9, 2017 Share Posted August 9, 2017 شلون ما ياخذ دم الا لما يموت Link to comment
yasin0 Posted August 9, 2017 Share Posted August 9, 2017 يقصد انه لما ياخذ من الماركر دم مايقدر ياخذه من جديد الا لما يموت Link to comment
Jw8. Posted August 9, 2017 Share Posted August 9, 2017 createMarker onMarkerHit onPlayerWasted Link to comment
^iiEcoo'x_) Posted August 9, 2017 Share Posted August 9, 2017 -- to close function closeMarker ( aPlayer_ ) if ( getElementData ( aPlayer_ , 'aMarkerStats_' ) ~= 'Close') then setElementData ( aPlayer_ , 'aMarkerStats_' , 'Close' ) end end -- check close function isMarkerClose ( aPlayer_ ) return getElementData ( aPlayer_ , 'aMarkerStats_' ) == 'Close' end 1 1 Link to comment
DaHoM Posted August 9, 2017 Author Share Posted August 9, 2017 يا اخوان ابي لكل الناس الماركر مو لقروب + اشخص يقدر يعبي مرة بس منو بس في حال اذا مات يعبي مرة اخر , وكذا كل ما يموت يقدر يعبي مرة واحده Link to comment
#Soking Posted August 10, 2017 Share Posted August 10, 2017 Values, Marker = { }, createMarker( x, y, z, 'corona' ) addEventHandler( 'onMarkerHit', Marker, function( Player ) if ( isElement( Player ) and getElementType( Player ) == 'player' and Values[Player] == nil ) then Values[Player] = 'Hit Done -_-' return setElementHealth( Player, 100 ), outputChatBox( 'Done , !', Player, 255, 255, 255, true ) end end ) addEventHandler( 'onPlayerWasted', root, function( ) Values[source] = nil end ) 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