shwaeki Posted April 2, 2014 Posted April 2, 2014 السلام عليكم و رحمة الله و بركاتة topbarchat بسالكم الحين انا بستخدم مود بس بس بسير اي واحد دخل او طلع بجي من تحت انة دخل و طلع مع العلم اني مطفي مود الدخو و ما يكرر بدي اياه يتم يكرر يعني لما يطلع اشي ما بعاود يطلع ما دام ما هو مبين الحين هو مشفر في مود غيرة او اذا اصدار منة ما فية يلي قلت عنة
' ρяofзśŝoя 亗 Posted April 2, 2014 Posted April 2, 2014 Function syntax (server): bool sendClientMessage ( string message, player thePlayer [, int r=0, int g=0, int b=0, bool topBar=true, int time=8] ) # Function syntax (client): bool sendClientMessage ( string message [, int r=0, int g=0, int b=0, bool topBar=true, int time=8] ) # exports['topbarchat']:sendClientMessage ( 'خرج اللاعب من السيرفر', plr, 0, 252, 255, true )
' ρяofзśŝoя 亗 Posted April 2, 2014 Posted April 2, 2014 الاكواد موجودة أساسا ف المود .. هذي الاكواد تضيفها للمود حقك عشان الرساله تطلع بالشريط!
jafar Posted April 2, 2014 Posted April 2, 2014 الاكواد موجودة أساسا ف المود .. هذي الاكواد تضيفها للمود حقك عشان الرساله تطلع بالشريط! كان ردي ع صاحب الموضوع مو ع تعليقك ! اكواد الدخول والخروج موجودة أساسا داخل مود topbarchat
' ρяofзśŝoя 亗 Posted April 2, 2014 Posted April 2, 2014 الاكواد موجودة أساسا ف المود .. هذي الاكواد تضيفها للمود حقك عشان الرساله تطلع بالشريط! كان ردي ع صاحب الموضوع مو ع تعليقك ! اكواد الدخول والخروج موجودة أساسا داخل مود topbarchat اهاا ، آسفينن ع اللقافه
iPrestege Posted April 2, 2014 Posted April 2, 2014 xXMADEXx + Profile : https://forum.multitheftauto.com/memberlist.php?mode=viewprofile&u=65297
#DRAGON!FIRE Posted April 2, 2014 Posted April 2, 2014 هاد بعرف عربي لأ . انت تبي تشيل الـ دخول والخروج ؟
ΞĪŚŚÀ Posted April 2, 2014 Posted April 2, 2014 انا يا دوب اعرف عربي اسستخدم مود outputTopChat من فوق ومو مشششفر .. ذذ
shwaeki Posted April 2, 2014 Author Posted April 2, 2014 بدل ما انزل كمان موضوع كيف اخلي الكلام يجي بنص انا سويتة يجي بس بجي كلو على الاتجاة نفسة زي هيك http://im64.gulfup.com/C4y3Nt.png انا بدي زي topbarchat يجي الكلام من النص و يروح على الاتجاهين addEventHandler("onClientPreRender",root, function() dxDrawRectangle(screenX/4+(screenX/16),1*20-20,screenX/2-(screenX/16),20.0,tocolor(0,0,0,150),false) local x, y, z = getElementPosition(localPlayer) dxDrawText(" Local Player Name: #ff6400"..getPlayerName(localPlayer).."#ffffff | Zone: #ffff00"..getZoneName(x, y, z, false).."#ffffff (#ffff00"..getZoneName(x, y, z, true).."#ffffff)",screenX/4+(screenX/16),1*40-40,screenX/2-(screenX/16),20.0,tocolor(255, 255, 255, 255),1.0,"default-bold","left","center",false,false,false, true) if #topChat >= 8 then table.remove(topChat, 1) end for k, v in ipairs(topChat) do dxDrawRectangle(screenX/4+(screenX/16),k*20,screenX/2-(screenX/16),20.0,tocolor(0,0,0,150),false) dxDrawText(" "..v[1],screenX/4+(screenX/5),k*40,screenX/2-(screenX/16),20.0,tocolor(v[2],v[3],v[4],255),1.0,"default-bold","left","center",false,false,false, true) end end ) function outputTopChat(message, r, g, b) table.insert(topChat, { message, r, g, b }) local thetime = getRealTime() outputConsole("["..string.format("%.2d:%.2d:%.2d", thetime.hour, thetime.minute, thetime.second).."] "..message:gsub("#%x%x%x%x%x%x", "")) setTimer(function() table.remove(topChat, 1) end, 60000, 1) end addEvent("outputTopChat", true) addEventHandler("outputTopChat", root, outputTopChat)
ΞĪŚŚÀ Posted April 2, 2014 Posted April 2, 2014 جربء . .. انا حاولت اعدل فيه من قبل ماضبط لكن جرب ذا addEventHandler("onClientPreRender",root, function() dxDrawRectangle(screenX/4+(screenX/16),1*20-20,screenX/2-(screenX/16),20.2,tocolor(0,0,0,150),false) local x, y, z = getElementPosition(localPlayer) dxDrawText(" Local Player Name: #ff6400"..getPlayerName(localPlayer).."#ffffff | Zone: #ffff00"..getZoneName(x, y, z, false).."#ffffff (#ffff00"..getZoneName(x, y, z, true).."#ffffff)",screenX/4+(screenX/16),1*40-40,screenX/2-(screenX/16),20.0,tocolor(255, 255, 255, 255),1.0,"default-bold","left","center",false,false,false, true) if #topChat >= 8 then table.remove(topChat, 1) end for k, v in ipairs(topChat) do dxDrawRectangle(screenX/4+(screenX/16),k*20,screenX/2-(screenX/16),20.0,tocolor(0,0,0,150),false) dxDrawText(" "..v[1],screenX/4+(screenX/16),k*20,screenX/2-(screenX/16),20.0,tocolor(v[2],v[3],v[4],255),1.0,"default-bold","left","center",false,false,false, true) end end ) function outputTopChat(message, r, g, b) table.insert(topChat, { message, r, g, b }) local thetime = getRealTime() outputConsole("["..string.format("%.2d:%.2d:%.2d", thetime.hour, thetime.minute, thetime.second).."] "..message:gsub("#%x%x%x%x%x%x", "")) setTimer(function() table.remove(topChat, 1) end, 60000, 1) end addEvent("outputTopChat", true) addEventHandler("outputTopChat", root, outputTopChat)
shwaeki Posted April 2, 2014 Author Posted April 2, 2014 ما نفع تمو على الجنب و الكلام صار اقرب على بعض يعني ما في فراغ بيم الكلام
ΞĪŚŚÀ Posted April 2, 2014 Posted April 2, 2014 addEventHandler("onClientPreRender",root, function() dxDrawRectangle(screenX/4+(screenX/16),1*20-20,screenX/2-(screenX/16),20.0,tocolor(0,0,0,150),false) local x, y, z = getElementPosition(localPlayer) dxDrawText(" Local Player Name: #ff6400"..getPlayerName(localPlayer).."#ffffff | Zone: #ffff00"..getZoneName(x, y, z, false).."#ffffff (#ffff00"..getZoneName(x, y, z, true).."#ffffff)",screenX/4+(screenX/16),1*40-40,screenX/2-(screenX/16),20.0,tocolor(255, 255, 255, 255),1.0,"default-bold","left","center",false,false,false, true) if #topChat >= 8 then table.remove(topChat, 1) end for k, v in ipairs(topChat) do dxDrawRectangle(screenX/4+(screenX/15),k*20,screenX/2-(screenX/17),20.0,tocolor(0,0,0,150),false) dxDrawText(" "..v[1],screenX/4+(screenX/1),k*40,screenX/2-(screenX/1),20.0,tocolor(v[2],v[3],v[4],255),1.0,"default-bold","left","center",false,false,false, true) end end ) function outputTopChat(message, r, g, b) table.insert(topChat, { message, r, g, b }) local thetime = getRealTime() outputConsole("["..string.format("%.2d:%.2d:%.2d", thetime.hour, thetime.minute, thetime.second).."] "..message:gsub("#%x%x%x%x%x%x", "")) setTimer(function() table.remove(topChat, 1) end, 60000, 1) end addEvent("outputTopChat", true) addEventHandler("outputTopChat", root, outputTopChat)
Mr.AL#PLaYeR Posted April 2, 2014 Posted April 2, 2014 addEventHandler("onClientPreRender",root, function() dxDrawRectangle(screenX/4+(screenX/16),1*20-20,screenX/2-(screenX/16),20.0,tocolor(0,0,0,150),false) local x, y, z = getElementPosition(localPlayer) dxDrawText(" Local Player Name: #ff6400"..getPlayerName(localPlayer).."#ffffff | Zone: #ffff00"..getZoneName(x, y, z, false).."#ffffff (#ffff00"..getZoneName(x, y, z, true).."#ffffff)",screenX/4+(screenX/16),1*40-40,screenX/2-(screenX/16),20.0,tocolor(255, 255, 255, 255),1.0,"default-bold","left","center",false,false,false, true) if #topChat >= 8 then table.remove(topChat, 1) end for k, v in ipairs(topChat) do dxDrawRectangle(screenX/4+(screenX/15),k*20,screenX/2-(screenX/17),20.0,tocolor(0,0,0,150),false) dxDrawText(" "..v[1],screenX/4+(screenX/1),k*40,screenX/2-(screenX/1),20.0,tocolor(v[2],v[3],v[4],255),1.0,"default-bold","left","center",false,false,false, true) end end ) function outputTopChat(message, r, g, b) table.insert(topChat, { message, r, g, b }) local thetime = getRealTime() outputConsole("["..string.format("%.2d:%.2d:%.2d", thetime.hour, thetime.minute, thetime.second).."] "..message:gsub("#%x%x%x%x%x%x", "")) setTimer(function() table.remove(topChat, 1) end, 60000, 1) end addEvent("outputTopChat", true) addEventHandler("outputTopChat", root, outputTopChat) هريسةة ّ!
ΞĪŚŚÀ Posted April 2, 2014 Posted April 2, 2014 addEventHandler("onClientPreRender",root, function() dxDrawRectangle(screenX/4+(screenX/16),1*20-20,screenX/2-(screenX/16),20.0,tocolor(0,0,0,150),false) local x, y, z = getElementPosition(localPlayer) dxDrawText(" Local Player Name: #ff6400"..getPlayerName(localPlayer).."#ffffff | Zone: #ffff00"..getZoneName(x, y, z, false).."#ffffff (#ffff00"..getZoneName(x, y, z, true).."#ffffff)",screenX/4+(screenX/16),1*40-40,screenX/2-(screenX/16),20.0,tocolor(255, 255, 255, 255),1.0,"default-bold","left","center",false,false,false, true) if #topChat >= 8 then table.remove(topChat, 1) end for k, v in ipairs(topChat) do dxDrawRectangle(screenX/4+(screenX/15),k*20,screenX/2-(screenX/17),20.0,tocolor(0,0,0,150),false) dxDrawText(" "..v[1],screenX/4+(screenX/1),k*40,screenX/2-(screenX/1),20.0,tocolor(v[2],v[3],v[4],255),1.0,"default-bold","left","center",false,false,false, true) end end ) function outputTopChat(message, r, g, b) table.insert(topChat, { message, r, g, b }) local thetime = getRealTime() outputConsole("["..string.format("%.2d:%.2d:%.2d", thetime.hour, thetime.minute, thetime.second).."] "..message:gsub("#%x%x%x%x%x%x", "")) setTimer(function() table.remove(topChat, 1) end, 60000, 1) end addEvent("outputTopChat", true) addEventHandler("outputTopChat", root, outputTopChat) هريسةة ّ! مستخدم [ b ] [ / b ]
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