RootMaster Posted March 10, 2014 Share Posted March 10, 2014 (edited) ممكن المساعدة: هذ المود مود رسالة الادمن تحت الشات المشكلة اذا احد خرج ودخل الكلام يروح بدي مساعدة في انه احد يسويله كود يحفظ الرسالة اذا احد خرج ودخل يشوف الرسالة مرة ثانية يعني الرسالة اذا احد كتبها في الادمن تضل الرسالة محفوظة حتى لو احد خرج ودخل ياريت تساعدوني وشكراً Client.lua function rdx(message) removeEventHandler ( "onClientRender", getRootElement(), dx ) function dx() dxDrawText("Admin :",13.0,167.0,55.0,182.0,tocolor(255,0,0,255),1.0,"default-bold","left","top",false,false,false) dxDrawText(message,58.0,168.0,799.0,224.0,tocolor(255,255,255,255),1.0,"default-bold","left","top",false,false,false) end addEventHandler("onClientRender", getRootElement(), dx) end addEvent("sora", true ) addEventHandler("sora", getRootElement(), rdx) bindKey("u", "down", "chatbox","AM") ------------------------------------------------------ Server.lua function check(thePlayer, commandName,...) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "Console" ) ) then local veve = {...} local message = table.concat(veve, " ") triggerClientEvent("sora", getRootElement(),message) end end addCommandHandler("AM", check) Edited March 10, 2014 by Guest Link to comment
shwaeki Posted March 10, 2014 Share Posted March 10, 2014 شوف الموضوع و زبط كودك viewtopic.php?f=160&t=46670 Link to comment
فاّرس Posted March 10, 2014 Share Posted March 10, 2014 https://community.multitheftauto.com/in ... ls&id=8027 Link to comment
RootMaster Posted March 10, 2014 Author Share Posted March 10, 2014 https://community.multitheftauto.com/index.php?p=resources&s=details&id=8027 عيوني شكراً بس بدي الكود كود الحفظ لحاله .؟؟ Link to comment
' ρяofзśŝoя 亗 Posted March 11, 2014 Share Posted March 11, 2014 https://forum.multitheftauto.com/viewtopic.php?f=164&t=56729 Link to comment
RootMaster Posted March 12, 2014 Author Share Posted March 12, 2014 شكراً ياجماااعة بس انتو مافهمتو لسا احد يساعدني في الكود وينسخه في الكومنت بالله .؟؟ وشكراً Link to comment
RootMaster Posted March 12, 2014 Author Share Posted March 12, 2014 ما تعرف تآخذه من المود؟ اخي ماعرف اركبه على المود ركبته ماظبط اسم الادمن مايظبط مكانه .؟؟ ماعرف ليش 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