MrCor Posted January 30, 2013 Posted January 30, 2013 السلام عليكم و رحمة الله و بركانه شباب احد يشرح ليي dxDrawImage3D https://wiki.multitheftauto.com/wiki/DxDrawImage3D ويكون شرح دقيق لأن ماقد استخدمت كود من هذا النوع وشكرا
3NAD Posted January 30, 2013 Posted January 30, 2013 حط هذا الكود في ملف كلنت .. local white = tocolor(255,255,255,255) function dxDrawImage3D(x,y,z,w,h,m,c,r,...) local lx, ly, lz = x+w, y+h, (z+tonumber(r or 0)) or z return dxDrawMaterialLine3D(x,y,z, lx, ly, lz, m, h, c or white, ...) end وطبق عليه مثل ماهو موجود بالصفحة local face = dxCreateTexture("trollface.png") addEventHandler("onClientRender", root, function ( ) dxDrawImage3D ( x, y, z, 20, 20, face, tocolor(255,255,255,255)) end ) x, y, z = الإحداثيات 20, 20 = الحجم trollface.png = اسم الصورة
MrCor Posted January 30, 2013 Author Posted January 30, 2013 start: Resource 'marker' start was requested (Not starting resource marker as section in the meta.xml is incorrect or missing (expected at least client 1.3.0-9.03931 because of 'dxDrawMaterialLine3D')
Blaawee Posted January 30, 2013 Posted January 30, 2013 اضيف للميتآ ذآ السطر : client="1.3.0-9.03931">
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