Adham Posted February 12, 2017 Share Posted February 12, 2017 سلام عليكم ورحمه الله وبركاته المشكله في فكشن fadeCamera المشكله انا مسوي لما يخش علي باب يخش علي المحل والاحدثيات تمام وكل شي انا ابي لما يخش المحل يجي اسود وشويه يختفي الاسود انا مسويه لاكن لما يخش م يجيب اسود addEventHandler ( "onClientMarkerHit", Marker1, function ( hitPlayer ) if ( getElementType( hitPlayer ) == "player" ) and not isPedInVehicle( hitPlayer ) then setTimer (function ( ) fadeCamera ( true , 1 ) setElementInterior ( hitPlayer, 14, 203.99309, -166.55072, 1000.52344) end,1000,1) end end ) Link to comment
#BrosS Posted February 12, 2017 Share Posted February 12, 2017 fadeCamera راجع كود كيف تبي شاشة سودا true انت حاطه Link to comment
Adham Posted February 12, 2017 Author Share Posted February 12, 2017 حطيته , false صار لما ادخل المحل يجيب اسود بعد م ادخل المحل بكنير انا ابي لما يخش الباب Link to comment
#BrosS Posted February 12, 2017 Share Posted February 12, 2017 اولا مافهمت وش دي بكنير وعدل على الاحداثيات حقتك وحطها بالباب Link to comment
Adham Posted February 12, 2017 Author Share Posted February 12, 2017 أقراء الموضوع كويس لأهنت . Link to comment
#BrosS Posted February 12, 2017 Share Posted February 12, 2017 خل كودك اللي فوق ، وضيف fadeCamera ( false , 1 ) سطر 5 المهم قبل التايمر ، وخلصنا Link to comment
Adham Posted February 12, 2017 Author Share Posted February 12, 2017 addEventHandler ( "onClientMarkerHit", Marker1, function ( hitPlayer ) if ( getElementType( hitPlayer ) == "player" ) and not isPedInVehicle( hitPlayer ) then fadeCamera ( false ) setTimer ( fadeCamera, 1500, 1, true ) setElementInterior ( hitPlayer, 14, 203.99309, -166.55072, 1000.52344) end end ) شوف انا سويته كذا الكود هذا لما يدخل المركر يدخل في المحل وبعدين يبان شاشه سودا وتظهر تاني .. انا ابيها لما يخش المركر علطول يجي شاشه سوده بعدين تفتح وتدخل علي المحل Link to comment
Ahmed Ly Posted February 12, 2017 Share Posted February 12, 2017 addEventHandler ( "onClientMarkerHit",Marker1, function (hitPlayer) if hitPlayer == localPlayer and not isPedInVehicle( hitPlayer ) then fadeCamera (false,0,0,0) setTimer(fadeCamera,1500,1,true) setElementInterior (hitPlayer, 14, 203.99309, -166.55072, 1000.52344) end 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