Mr.OppS Posted April 13, 2017 Share Posted April 13, 2017 السلام عليكم Top Barمود الـ المود يطلع الرسائل باللغة الانجليزية !بدون مشاكل ولكن الرسائل باللغة العربية ! بها مشاكل مثل هذة الصورة :- كيف احل هذة مشكلة!!؟ Link to comment
Ismaeel_finer Posted April 13, 2017 Share Posted April 13, 2017 (edited) شوف تنسيق UTF-8 ولا مشكلة من خط يلي انت مسويه للغة انجليزيه ممكن هوا سبب Edited April 13, 2017 by Ismaeel_finer Link to comment
Mr.OppS Posted April 13, 2017 Author Share Posted April 13, 2017 25 minutes ago, Abdul KariM said: المشكلة من الخط كيف احلها؟؟ ------------------------------------------------------------------------------------------------------------------------------------------------ 27 minutes ago, Ismaeel_finer said: شوف تنسيق UTF-8 ولا مشكلة من خط يلي انت مسويه للغة انجليزيه ممكن هوا سبب مود الـTop bar يستخدم UTF-8 و مود الدائرة يستخدم UTF-8 !!!!!!!! Link to comment
Mr.OppS Posted April 13, 2017 Author Share Posted April 13, 2017 1 minute ago, Abdul KariM said: تغير الخط اي !! كيف اغيرة ! اعطني طريقة رجاء Link to comment
Ismaeel_finer Posted April 13, 2017 Share Posted April 13, 2017 (edited) 4 minutes ago, King SpY said: اي !! كيف اغيرة ! اعطني طريقة رجاء غير ملف خط اول وحط ملف تاني بس ايكون نفس اسم ملف اول Edited April 13, 2017 by Ismaeel_finer Link to comment
Mr.OppS Posted April 13, 2017 Author Share Posted April 13, 2017 2 minutes ago, Ismaeel_finer said: غير ملف خط اول وحط ملف تاني بس ايكون نفس اسم ملف اول TopBar ملف الـ يوجود بة فقط ملف السيرفر و كلينت و ملف ميتا --Server --[[ Dispaly a DX topbar message ]]-- function dm(text, plr, r,g,b, col, bell) if col == nil then col = false end if bell then playSoundFrontEnd(plr, 11) end if not plr or not isElement(plr) or getElementType(plr) ~= "player" then return end triggerClientEvent(plr, "topbar.addText", root, text, r,g,b, col) end --Client local timer = nil local messages = { } local last_msg = "" local display_time_ms = 12000 --[[ Display a DX topbar message ]]-- function dm(text, r,g,b, col, bell) -- Insert message local tick = getTickCount() if text == last_msg then return end if not col then col = false end if bell then playSoundFrontEnd(11) end table.insert(messages, {text, true, tick + display_time_ms, 170, r,g,b, col }) outputConsole("[TOPBAR] "..text) last_msg = text setTimer(function() last_msg = "" end, 10000, 1) -- Play a message notification sound --playSoundFrontEnd(11) end addEvent("topbar.addText", true) addEventHandler("topbar.addText", root, dm) --[[ Render all DX messages ]]-- local sx,sy = guiGetScreenSize() function render_topbar( ) local tick = getTickCount() -- Prevent to many messages to display at the same time if #messages > 7 then table.remove(messages, 1) end -- Loop through all messages for k,data in ipairs(messages) do -- Draw the messages dxDrawRectangle(sx/2 - 400, (-26)+(k*25), 800, 25, tocolor(0, 0, 0, data[4])) dxDrawText(data[1], sx/2, (-25)+(k*46), sx/2, 0, tocolor(data[5], data[6], data[7], data[4]+75), 0.55, "bankgothic", "center", "center", false, true, false, data[8]) -- Remove after fading out if tick >= data[3] then messages[k][4] = data[4]-2 if data[4] <= 1 then table.remove(messages, k) end end end end addEventHandler("onClientRender", root, render_topbar) Link to comment
Mr.OppS Posted April 13, 2017 Author Share Posted April 13, 2017 27 minutes ago, #BrosS said: https://www.ar-fonts.com/ 1 hour ago, Ismaeel_finer said: غير ملف خط اول وحط ملف تاني بس ايكون نفس اسم ملف اول 1 hour ago, Abdul KariM said: تغير الخط 28 minutes ago, #BrosS said: https://www.ar-fonts.com/ Link to comment
#-'Dr.LiOn'<3 Posted April 13, 2017 Share Posted April 13, 2017 حمل خط يصلح للعربي والانجليزي وريح حالك Link to comment
AE. Posted April 13, 2017 Share Posted April 13, 2017 سطر رقم 37 بدل كلمة "bankgothic" "Arial" وجرب او "arial" Link to comment
Adham Posted April 13, 2017 Share Posted April 13, 2017 (edited) حط خط default-bold وريح نفسك Edited April 13, 2017 by Deativated Link to comment
AE. Posted April 13, 2017 Share Posted April 13, 2017 4 hours ago, Deativated said: حط خط default-bold وريح نفسك طيب انا وش قلت :3 ؟ وليش يريح نفسه محسسني انه صارله 3 ايام ف المشكلة 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