Dr.Xen Posted June 23, 2014 Share Posted June 23, 2014 السلام عليكم ورحمة الله وبركاته ... كيفكم ي عيال/ ابي كود وضع صورة فوق الماركر او كتابة وشككرآ للكم Link to comment
al-Kobra Posted June 23, 2014 Share Posted June 23, 2014 3d صورة https://wiki.multitheftauto.com/wiki/DxDrawImage3D 3d كتابة local marker = createMarker( ..... ) addEventHandler('onClientRender',root, function() local x,y,z = getElementPosition(marker) local mX,mY,mZ = getCameraMatrix() if ( getDistanceBetweenPoints3D( mX, mY,mZ,x,y,z ) <= 10 ) then local wX,wY = getScreenFromWorldPosition(x-0.50,y,z + 0.85,0) if wX and wY then dxDrawText('Your Text',wX,wY,wX,wY,tocolor(255,255,0),1.5,'default-bold') end end end ) Link to comment
Dr.Xen Posted June 23, 2014 Author Share Posted June 23, 2014 local face = dxCreateTexture("trollface.png") addEventHandler("onClientRender", root, function() dxDrawImage3D(0,0, 20, 20, 20, face, tocolor(255,255,255,255)) end فمثلا هذي ,, اخذت من الويكي ممكن شرح Link to comment
acount deleted Posted June 23, 2014 Share Posted June 23, 2014 (edited) local face = dxCreateTexture("trollface.png") addEventHandler("onClientRender", root, function() dxDrawImage3D(0,0, 20, 20, 20, face, tocolor(255,255,255,255)) end فمثلا هذي ,, اخذت من الويكي ممكن شرح dxCreateTexture("trollface.png") ذي تجيب الصورة trollface اسمها dxDrawImage3D(0,0, 20, 20, 20, face, tocolor(255,255,255,255)) ذي ترد الصورة كانها حقيقية ثري دي bool dxDraw3DImage ( float x, float y, float z, float width, float height, element material ذا المطلوب الاولين الي بالكود هم الاحداثيات اول ثلاثة x,y,z و الاثنين الي قبل الارقمنت الاخير width,height طول و عرض الشي الي راح تخليه ثري دي و اخر ارقمنت material الشي الي راح تخليه ثري دي Edited June 23, 2014 by Guest Link to comment
Dr.Xen Posted June 23, 2014 Author Share Posted June 23, 2014 هذي احداثية زي الاوبجكت العادية ولا كيف؟ Link to comment
TAPL Posted June 26, 2014 Share Posted June 26, 2014 هذي احداثية زي الاوبجكت العادية ولا كيف؟ X/Y/Z: The start position of the 3D image, representing a coordinate in the GTA world. getElementPosition ببساطة ذي الأحداثيات تقدر تاخذها عن طريق الفنكشن مود الأدمنية و الفري روم يستخدم الفنكشن ذا يعني تقدر تاخذ الأحداثيات من المودات المذكورة 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