taha201100 Posted April 1, 2016 Share Posted April 1, 2016 السلام عليكم سويت ماركر في Interior لكن لما اروح ما يظهر لكن لما المسه عادي يطلع بس الماركر مخفي وش السبب +متاكد من شفافية الماركر Link to comment
a7zan Posted April 1, 2016 Share Posted April 1, 2016 وعليكم السلام ورحمة الله وبركاته # استخدم setElementInterior Link to comment
taha201100 Posted April 1, 2016 Author Share Posted April 1, 2016 استخدمتها من اول لكن ما يظهر Link to comment
#CroSs Posted April 1, 2016 Share Posted April 1, 2016 استخدمتها من اول لكن ما يظهر . اطرح اكوادك Link to comment
taha201100 Posted April 1, 2016 Author Share Posted April 1, 2016 الاكواد كامله مقدر بس بطرح الأشياء الي تفيد الماركر marker = createMarker ( 295.58554 ,-80.14142 ,1001.51563, "cylinder", 1.5, 255, 255, 0, 155 ) كلنت addEventHandler("onClientMarkerHit", root, function(player1) if (source == marker1) and (player1 == localPlayer) then triggerServerEvent ("222",localPlayer,marker1,ped) end end ) سيرفر addEvent ("222", true) addEventHandler ("222", root, function () setElementInterior ( source, 4 ,285.83646 ,-85.88068 ,1001.52289 ) setElementInterior ( marker, 4 ,295.58554 ,-80.14142 ,1001.51563 ) setElementInterior ( ped, 4 ,296.06375, -83.07696 ,1001.51563 ) end ) Link to comment
#CroSs Posted April 1, 2016 Share Posted April 1, 2016 الاكواد كامله مقدر بس بطرح الأشياء الي تفيد الماركر marker = createMarker ( 295.58554 ,-80.14142 ,1001.51563, "cylinder", 1.5, 255, 255, 0, 155 ) كلنت addEventHandler("onClientMarkerHit", root, function(player1) if (source == marker1) and (player1 == localPlayer) then triggerServerEvent ("222",localPlayer,marker1,ped) end end ) سيرفر addEvent ("222", true) addEventHandler ("222", root, function () setElementInterior ( source, 4 ,285.83646 ,-85.88068 ,1001.52289 ) setElementInterior ( marker, 4 ,295.58554 ,-80.14142 ,1001.51563 ) setElementInterior ( ped, 4 ,296.06375, -83.07696 ,1001.51563 ) end ) marker = createMarker( 295.58554, -80.14142, 1001.51563, "cylinder", 1.5, 255, 255, 0, 155 ) setElementInterior( marker, 4 ) addEventHandler( "onClientMarkerHit", marker, function( HitPlayer ) if ( HitPlayer == localPlayer ) then -- Your Code ... end end ) Link to comment
Abdul KariM Posted April 1, 2016 Share Posted April 1, 2016 -- Client # addEventHandler("onClientMarkerHit", root, function(player1) if (source == marker1) and (player1 == localPlayer) then triggerServerEvent ("222",localPlayer,localPlayer,marker1,ped) end end ) -- Server # addEvent ("222", true) addEventHandler ("222", root, function ( player ,Marker , Ped) setElementInterior ( player, 4 ,285.83646 ,-85.88068 ,1001.52289 ) setElementInterior ( Marker, 4 ,295.58554 ,-80.14142 ,1001.51563 ) setElementInterior ( Ped, 4 ,296.06375, -83.07696 ,1001.51563 ) end ) Link to comment
taha201100 Posted April 1, 2016 Author Share Posted April 1, 2016 مشكورين يعطيكم العافية اشتغل يغلق Link to comment
taha201100 Posted April 1, 2016 Author Share Posted April 1, 2016 +القسم غلط انقلوه حطيتة بالغلط 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