ALw7sH Posted January 17, 2013 Share Posted January 17, 2013 السسللامم عليككم ورحمةة الله اأإبي ككود الى ماركر يككون داخخل انتيريور وابي كود يخخلي الماركر اذذا دخخلته يفتحح لكك نافذةة النافذةة عبارةة عن ششوب انا مسسويه Link to comment
3NAD Posted January 17, 2013 Share Posted January 17, 2013 setElementInterior Event "onClientMarkerHit" guiSetVisible Link to comment
Bhrany-danger Posted January 17, 2013 Share Posted January 17, 2013 local Marker = createMarker ( x, y, z, "cylinder", 2, 255, 255, 0, 150 ) addEventHandler('onClientMarkerHit', Marker, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then guiSetVisible ( window ,true ) showCursor( true ) guiSetInputEnabled(false) end غـير window الى اسم النافذة اللي عندك Link to comment
ALw7sH Posted January 17, 2013 Author Share Posted January 17, 2013 مششكوورين عناد + بحراني Link to comment
ALw7sH Posted January 17, 2013 Author Share Posted January 17, 2013 بس انا ابي الماركر يككون داخل الانتيريور رقم 1 Link to comment
ALw7sH Posted January 17, 2013 Author Share Posted January 17, 2013 هاذا الكود صح عشان يكون الماركر داخل الانتيريور؟ local Marker = createMarker ( 296.28,-38.07,1000.51, "cylinder", 2, 255, 255, 0, 150 ) setElementInterior (wepMarker, 1) Link to comment
3NAD Posted January 17, 2013 Share Posted January 17, 2013 setElementInterior (wepMarker, 1) wepMarker = ?? Link to comment
iPrestege Posted January 17, 2013 Share Posted January 17, 2013 Try This / local Marker = createMarker ( x,y,z, "cylinder", 2, 255, 255, 0, 150 ) addEventHandler('onClientMarkerHit', Marker, function ( player ) if ( player == localPlayer ) then setElementInterior (player, id) 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