Mhmd.z Posted June 26, 2015 Share Posted June 26, 2015 السلام عليكم ورحمة الله وبركاته انا سويت كود يصنع ماركر بمكانك لما تضغط زر : addEventHandler('onClientGUIClick', root, function() if ( source == create ) then if (Marker) then destroyElement(Marker) end local x,y,z = getElementPosition(localPlayer) Marker = createMarker(x,y,z-1, "cylinder", 2, 255, 0, 0, 255) outputChatBox ( "you created marker", 255, 0, 0) end end ) الكود صحيح وكل شيئ لكن ابي انه لما اكون بعالم وهمي رح يصنع الماركر بالعالم الوهمي ,ابي الماركر ينصنع ب : Dimension Interior لو كنت ب عالم وهمي معين رح ينصنع مكانك لو سمحتم كود جاهز ,,, ولو فيه شي صعب اشرحه Link to comment
TAPL Posted June 26, 2015 Share Posted June 26, 2015 setElementDimension(Marker, getElementDimension(localPlayer)) setElementInterior(Marker, getElementInterior(localPlayer)) Link to comment
Mhmd.z Posted June 26, 2015 Author Share Posted June 26, 2015 شكرا لك اخوي ما قصرت بمساعدتي 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