Tete omar Posted December 3, 2012 Share Posted December 3, 2012 تقصد يسوي ماركر للاعب عند ركوبه السيارة واذا نزل تختفي ؟ لا ما تختفي اذا الاعب نزل وركب تصير ماركر ثاني صح انا ابغى ماركر واحد بس والله ما فهمت شي Link to comment
abu5lf Posted December 3, 2012 Share Posted December 3, 2012 العيب في الي مافهم انا فهمت Link to comment
3NAD Posted December 3, 2012 Share Posted December 3, 2012 bab = createVehicle ( 411, -0.77234786748886, 0.1968837082386, 3.1171875 ) function giveMoney ( vehicle ) if vehicle == bab then if getElementData ( source, "theMarker" ) then destroyElement ( getElementData ( source, "theMarker" ) ) removeElementData ( source, "theMarker" ) end cac = createMarker ( 14.138179779053, 14.694575309753, 2.1171875, "cylinder", 5, 0, 0, 205, 170 ) setElementData ( source, "theMarker", cac ) end end addEventHandler ( "onPlayerVehicleEnter", root, giveMoney ) Link to comment
BeCooL Posted December 3, 2012 Author Share Posted December 3, 2012 bab = createVehicle ( 411, -0.77234786748886, 0.1968837082386, 3.1171875 ) function giveMoney ( vehicle ) if vehicle == bab then if getElementData ( source, "theMarker" ) then destroyElement ( getElementData ( source, "theMarker" ) ) removeElementData ( source, "theMarker" ) end cac = createMarker ( 14.138179779053, 14.694575309753, 2.1171875, "cylinder", 5, 0, 0, 205, 170 ) setElementData ( source, "theMarker", cac ) end end addEventHandler ( "onPlayerVehicleEnter", root, giveMoney ) ضبط بس صار اذا نزل الاعب وركب الماركر مايسوي شي Link to comment
3NAD Posted December 3, 2012 Share Posted December 3, 2012 اممـ انا اشوف انه ماركر بـ لآ فائدة وش اللي تبيه يصير + وين الإيفنت حقه ؟ Link to comment
BeCooL Posted December 3, 2012 Author Share Posted December 3, 2012 اممـ انا اشوف انه ماركر بـ لآ فائدة وش اللي تبيه يصير + وين الإيفنت حقه ؟ والله بحط الكود اللي يصير بدون تعليق اوكك setTimer(function() bab = createVehicle(411, -0.77234786748886, 0.1968837082386, 3.1171875) outputChatBox("#B22222 automobile has been requsted and placed on your map , get it first !!", root, 255, 255, 255, true) fg = createBlipAttachedTo(bab, 53) blip = createBlip ( 14.138179779053 , 14.694575309753 , 3.1171875 , 51 ) setVehicleDamageProof(bab, true) setElementVisibleTo(blip, root, false) setElementVisibleTo(cc, root, false) end, 5000, 1) function giveMoney ( vehicle ) if vehicle == bab then if getElementData ( source, cac ) then destroyElement ( getElementData ( source, cac ) ) removeElementData ( source, cac ) end cac = createMarker ( 14.138179779053, 14.694575309753, 2.1171875, "cylinder", 5, 0, 0, 205, 170 ) blip22 = createBlip ( 14.138179779053 , 14.694575309753 , 3.1171875 , 51 ) setElementData ( source, cac, cac ) end end addEventHandler ( "onPlayerVehicleEnter", root, giveMoney ) function ggg ( hitElement, matchingDimension ) if( source == cac ) then if hitElement and getElementType( hitElement )=="player" then givePlayerMoney ( hitElement, 46000 ) setPedArmor ( hitElement, 60 ) triggerClientEvent( hitElement, "playSoundC", hitElement ) removeEventHandler( "onMarkerHit", root, ggg) destroyElement(bab) destroyElement(cac) destroyElement(blip) destroyElement(fg) mohamad1 = createVehicle(402, 29.196004867554, 18.353984832764, 3.1171875) mohamad3 = createBlipAttachedTo(mohamad1, 53) outputChatBox("#B22222 automobile has been requsted and placed on your map , get it first !!", root, 255, 255, 255, true) setElementVisibleTo(blip2, root, false) setElementVisibleTo(cc, root, false) setVehicleDamageProof(mohamad1, true) end end end addEventHandler( "onMarkerHit", root, ggg) addEventHandler ('onVehicleExit', root, function( ) removeEventHandler( "onMarkerHit", root, ggg) end ) function gi(vehicle) if vehicle == mohamad1 then setPlayerWantedLevel (source, 1) mohamad2 = createMarker (25.237403869629, -48.512912750244, 2.1171875, "cylinder", 5, 0, 0, 205, 170) blip2 = createBlip ( 25.237403869629 , -48.512912750244 , 2.1171875 , 51 ) removeEventHandler("onPlayerVehicleEnter", root, gi) id = getElementModel ( theVehicle ) if id == 411 or id == 402 then setElementVisibleTo(blip2, source, true) setElementVisibleTo(mohamad2, source, true) end end end addEventHandler("onPlayerVehicleEnter", root, gi) function ghg ( hitElement, matchingDimension ) if( source == mohamad2 ) then if hitElement and getElementType( hitElement )=="player" then givePlayerMoney ( hitElement, 60000 ) setPedArmor ( hitElement, 45 ) triggerClientEvent( hitElement, "playSoundC", hitElement ) removeEventHandler("onPlayerVehicleEnter", root, gi) removeEventHandler( "onMarkerHit", root, ghg) destroyElement(mohamad1) destroyElement(mohamad2) destroyElement(blip2) destroyElement(mohamad3) end end end addEventHandler( "onMarkerHit", root, ghg) Link to comment
abu5lf Posted December 3, 2012 Share Posted December 3, 2012 ماشاء الله المفروض تكتب By جميع الاعضاء Link to comment
BeCooL Posted December 3, 2012 Author Share Posted December 3, 2012 ماشاء الله المفروض تكتبBy جميع الاعضاء كيف ما فهمت ؟ Link to comment
abu5lf Posted December 3, 2012 Share Posted December 3, 2012 يعني بالعربي تم عمل المود بواسطة جميع الاعضاء Link to comment
BeCooL Posted December 3, 2012 Author Share Posted December 3, 2012 يعني بالعربي تم عمل المود بواسطة جميع الاعضاء Link to comment
Tete omar Posted December 3, 2012 Share Posted December 3, 2012 بي كول استجهل الناس الي زي كذا عشان اذا جادلته راح تكون من مستواه يعني مثل ما هتلر قال "لا تجادل الاحمق" Link to comment
BeCooL Posted December 3, 2012 Author Share Posted December 3, 2012 بي كول استجهل الناس الي زي كذا عشان اذا جادلته راح تكون من مستواهيعني مثل ما هتلر قال "لا تجادل الاحمق" طيب ي شباب الكود كامل موجود ابغى حل Link to comment
abu5lf Posted December 3, 2012 Share Posted December 3, 2012 بي كول استجهل الناس الي زي كذا عشان اذا جادلته راح تكون من مستواهيعني مثل ما هتلر قال "لا تجادل الاحمق" هههههههههههههههههههههههههههههههه 'تيتي هتلر' ذاه حروبه كلها بحلاوة مصاص Link to comment
BeCooL Posted December 3, 2012 Author Share Posted December 3, 2012 بي كول استجهل الناس الي زي كذا عشان اذا جادلته راح تكون من مستواهيعني مثل ما هتلر قال "لا تجادل الاحمق" هههههههههههههههههههههههههههههههه 'تيتي هتلر' ذاه حروبه كلها بحلاوة مصاص داخخل من الجوال وجاي تطقطق Link to comment
3NAD Posted December 3, 2012 Share Posted December 3, 2012 (edited) -- لم يتم التجربة setTimer ( function( ) bab = createVehicle ( 411, -0.77234786748886, 0.1968837082386, 3.1171875 ) outputChatBox ( "#B22222 automobile has been requsted and placed on your map , get it first !!", root, 255, 255, 255, true ) fg = createBlipAttachedTo ( bab, 53 ) blip = createBlip ( 14.138179779053 , 14.694575309753 , 3.1171875 , 51 ) setVehicleDamageProof ( bab, true ) setElementVisibleTo ( blip, root, false ) -- setElementVisibleTo ( cc, root, false ) end , 5000, 1 ) function giveMoney ( vehicle ) theData = "theMarker" if vehicle == bab then if getElementData ( source, theData ) then destroyElement ( getElementData ( source, theData ) ) removeElementData ( source, theData ) end cac = createMarker ( 14.138179779053, 14.694575309753, 2.1171875, "cylinder", 5, 0, 0, 205, 170 ) blip22 = createBlip ( 14.138179779053 , 14.694575309753 , 3.1171875 , 51 ) setElementData ( source, theData, cac ) elseif vehicle == mohamad1 then if getElementData ( source, theData ) then destroyElement ( getElementData ( source, theData ) ) removeElementData ( source, theData ) end setPlayerWantedLevel (source, 1) mohamad2 = createMarker (25.237403869629, -48.512912750244, 2.1171875, "cylinder", 5, 0, 0, 205, 170) blip2 = createBlip ( 25.237403869629 , -48.512912750244 , 2.1171875 , 51 ) setElementData ( source, theData, mohamad2 ) id = getElementModel ( theVehicle ) if id == 411 or id == 402 then setElementVisibleTo ( blip2, source, true ) setElementVisibleTo ( mohamad2, source, true ) end end end addEventHandler ( "onPlayerVehicleEnter", root, giveMoney ) function ggg ( hitElement ) if hitElement and getElementType ( hitElement ) == "player" then if ( source == cac ) then givePlayerMoney ( hitElement, 46000 ) setPedArmor ( hitElement, 60 ) triggerClientEvent ( hitElement, "playSoundC", hitElement ) -- removeEventHandler ( "onMarkerHit", root, ggg ) destroyElement ( bab ) destroyElement ( cac ) destroyElement ( blip ) destroyElement ( fg ) mohamad1 = createVehicle(402, 29.196004867554, 18.353984832764, 3.1171875) mohamad3 = createBlipAttachedTo(mohamad1, 53) outputChatBox("#B22222 automobile has been requsted and placed on your map , get it first !!", root, 255, 255, 255, true) setElementVisibleTo ( blip2, root, false ) -- setElementVisibleTo(cc, root, false) setVehicleDamageProof ( mohamad1, true ) elseif ( source == mohamad2 ) then givePlayerMoney ( hitElement, 60000 ) setPedArmor ( hitElement, 45 ) triggerClientEvent ( hitElement, "playSoundC", hitElement ) -- removeEventHandler ( "onMarkerHit", root, ggg ) destroyElement ( mohamad1 ) destroyElement ( mohamad2 ) destroyElement ( blip2 ) destroyElement ( mohamad3 ) end end end addEventHandler ( "onMarkerHit", root, ggg ) كآن عندكـ . . . سطر 9 + 42 إضافات غير معرفة !! سطر 31 رآح تلغي إيفنت عند لمس الماركر !! Edited December 3, 2012 by Guest Link to comment
BeCooL Posted December 3, 2012 Author Share Posted December 3, 2012 -- لم يتم التجربة setTimer ( function( ) bab = createVehicle ( 411, -0.77234786748886, 0.1968837082386, 3.1171875 ) outputChatBox ( "#B22222 automobile has been requsted and placed on your map , get it first !!", root, 255, 255, 255, true ) fg = createBlipAttachedTo ( bab, 53 ) blip = createBlip ( 14.138179779053 , 14.694575309753 , 3.1171875 , 51 ) setVehicleDamageProof ( bab, true ) setElementVisibleTo ( blip, root, false ) -- setElementVisibleTo ( cc, root, false ) end , 5000, 1 ) function giveMoney ( vehicle ) theData = "theMarker" if vehicle == bab then if getElementData ( source, theData ) then destroyElement ( getElementData ( source, theData ) ) removeElementData ( source, theData ) end cac = createMarker ( 14.138179779053, 14.694575309753, 2.1171875, "cylinder", 5, 0, 0, 205, 170 ) blip22 = createBlip ( 14.138179779053 , 14.694575309753 , 3.1171875 , 51 ) setElementData ( source, theData, cac ) elseif vehicle == mohamad1 then if getElementData ( source, theData ) then destroyElement ( getElementData ( source, theData ) ) removeElementData ( source, theData ) end setPlayerWantedLevel (source, 1) mohamad2 = createMarker (25.237403869629, -48.512912750244, 2.1171875, "cylinder", 5, 0, 0, 205, 170) blip2 = createBlip ( 25.237403869629 , -48.512912750244 , 2.1171875 , 51 ) setElementData ( source, theData, mohamad2 ) id = getElementModel ( theVehicle ) if id == 411 or id == 402 then setElementVisibleTo ( blip2, source, true ) setElementVisibleTo ( mohamad2, source, true ) end end end addEventHandler ( "onPlayerVehicleEnter", root, giveMoney ) function ggg ( hitElement ) if hitElement and getElementType ( hitElement ) == "player" then if ( source == cac ) then givePlayerMoney ( hitElement, 46000 ) setPedArmor ( hitElement, 60 ) triggerClientEvent ( hitElement, "playSoundC", hitElement ) -- removeEventHandler ( "onMarkerHit", root, ggg ) destroyElement ( bab ) destroyElement ( cac ) destroyElement ( blip ) destroyElement ( fg ) mohamad1 = createVehicle(402, 29.196004867554, 18.353984832764, 3.1171875) mohamad3 = createBlipAttachedTo(mohamad1, 53) outputChatBox("#B22222 automobile has been requsted and placed on your map , get it first !!", root, 255, 255, 255, true) setElementVisibleTo ( blip2, root, false ) -- setElementVisibleTo(cc, root, false) setVehicleDamageProof ( mohamad1, true ) elseif ( source == mohamad2 ) then givePlayerMoney ( hitElement, 60000 ) setPedArmor ( hitElement, 45 ) triggerClientEvent ( hitElement, "playSoundC", hitElement ) -- removeEventHandler ( "onMarkerHit", root, ggg ) destroyElement ( mohamad1 ) destroyElement ( mohamad2 ) destroyElement ( blip2 ) destroyElement ( mohamad3 ) end end end addEventHandler ( "onMarkerHit", root, ggg ) كآن عندكـ . . . سطر 9 + 42 إضافات غير معرفة !! سطر 31 رآح تلغي إيفنت عند لمس الماركر !! مشكؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤؤر Link to comment
BeCooL Posted December 4, 2012 Author Share Posted December 4, 2012 شباب كيف امنع الاسلحه في ماب يعني ما ابغى كول شيب ؟؟ Link to comment
./BlackBird# Posted December 4, 2012 Share Posted December 4, 2012 سوي كول شيب و ريح نفسكك Link to comment
BeCooL Posted December 4, 2012 Author Share Posted December 4, 2012 سوي كول شيب و ريح نفسكك اقدر اسوي كول شيب فوق ؟ Link to comment
./BlackBird# Posted December 4, 2012 Share Posted December 4, 2012 وضح وش تبي لاني ما ادري وش تبي Link to comment
BeCooL Posted December 4, 2012 Author Share Posted December 4, 2012 وضح وش تبي لاني ما ادري وش تبي عندي ماب فوق ابغى امنع فيه الاسحله الثقيله : قنابل بازوكا ... Link to comment
./BlackBird# Posted December 4, 2012 Share Posted December 4, 2012 دام اني فاضي عطني الاحداثيات حقت الكول شيب و ارقام الاسلحه Link to comment
BeCooL Posted December 4, 2012 Author Share Posted December 4, 2012 دام اني فاضي عطني الاحداثيات حقت الكول شيبو ارقام الاسلحه كود الاسلحه عندي والاحداثيات في الخاص Link to comment
BeCooL Posted December 4, 2012 Author Share Posted December 4, 2012 طيب وش تبي؟ كيف يعني 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