Mr.OppS Posted August 26, 2017 Share Posted August 26, 2017 (edited) السلام عليكم , كيـف الـحـال ؟ هذا المود اذا تسوى تشـغـيـل = يطلع كلام تحت شـات تـلـقـائـى,, أريد أسـوى اذا تشغل المود = لا يطلع الكـلآم + الـكـلام يـطلـع من آف3 ,واذا اضغط اف3 مرة اخـرى = يخـتـفـئ الـكـود --CLient local x, y = guiGetScreenSize() local sW,sH = (x/1920),(y/1080) addEventHandler("onClientRender", root, function() local LOL = getElementData(localPlayer, "Level") or 1 local DOL = getElementData(localPlayer, "DOL") or 0 local needDOL = LOL * 1 dxDrawRectangle(25*sW, 400*sH, 300*sW, 80*sH, tocolor(0, 0, 0, 100)) dxDrawText("AS: "..LOL, -150*sW, 775*sH, 300*sW, 80*sH, tocolor(255, 255, 255, 255), 1, "default-bold", "center", "center") dxDrawText("DS: "..string.format("%d", DOL).."/"..needDOL, 250*sW, 775*sH, 300*sW, 80*sH, tocolor(255, 255, 255, 255), 1, "default-bold", "center", "center") dxDrawText(string.format("S", 100/(needDOL/DOL)).."A", 50*sW, 830*sH, 300*sW, 80*sH, tocolor(255, 255, 255, 255), 1, "default-bold", "center", "center") dxDrawRectangle(35*sW, 445*sH, 280*sW, 20*sH, tocolor(150, 150, 150, 100)) dxDrawRectangle(35*sW, 445*sH, 280*sW/needDOL*(DOL), 20*sH, tocolor(255, 255, 255, 100)) end) شكرأ Edited August 26, 2017 by Mr.OppS , Link to comment
MR.StoRm Posted August 26, 2017 Share Posted August 26, 2017 addEventHandler removeEventHandler bindKey Link to comment
Mr.OppS Posted August 26, 2017 Author Share Posted August 26, 2017 2 minutes ago, MR.StoRm said: addEventHandler removeEventHandler bindKey Link to comment
MR.StoRm Posted August 26, 2017 Share Posted August 26, 2017 Just now, Mr.OppS said: خخخخخ حاول ونساعدك Link to comment
Mr.OppS Posted August 26, 2017 Author Share Posted August 26, 2017 (edited) Quote خخخخخ حاول ونساعدك ضض , يصير تـسـهـل القصة اكثير Edited August 26, 2017 by Mr.OppS Link to comment
MR.StoRm Posted August 26, 2017 Share Posted August 26, 2017 2 minutes ago, Mr.OppS said: ضض , يصير تـسـهـل القصة اكثير طيب حآول Link to comment
Omoi Posted August 27, 2017 Share Posted August 27, 2017 --CLient local x, y = guiGetScreenSize() local sW,sH = (x/1920),(y/1080) function test() local LOL = getElementData(localPlayer, "Level") or 1 local DOL = getElementData(localPlayer, "DOL") or 0 local needDOL = LOL * 1 dxDrawRectangle(25*sW, 400*sH, 300*sW, 80*sH, tocolor(0, 0, 0, 100)) dxDrawText("AS: "..LOL, -150*sW, 775*sH, 300*sW, 80*sH, tocolor(255, 255, 255, 255), 1, "default-bold", "center", "center") dxDrawText("DS: "..string.format("%d", DOL).."/"..needDOL, 250*sW, 775*sH, 300*sW, 80*sH, tocolor(255, 255, 255, 255), 1, "default-bold", "center", "center") dxDrawText(string.format("S", 100/(needDOL/DOL)).."A", 50*sW, 830*sH, 300*sW, 80*sH, tocolor(255, 255, 255, 255), 1, "default-bold", "center", "center") dxDrawRectangle(35*sW, 445*sH, 280*sW, 20*sH, tocolor(150, 150, 150, 100)) dxDrawRectangle(35*sW, 445*sH, 280*sW/needDOL*(DOL), 20*sH, tocolor(255, 255, 255, 100)) end bindKey("f3","down", function() if removeEventHandler("onClientRender",root,test) then removeEventHandler("onClientRender",root,test) showCursor ( false ) -- إذا ماتبي الزر يطلع شيل ذي else addEventHandler("onClientRender",root,test) showCursor ( true ) -- وشيل ذي بعد end end ) 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