Jw8. Posted December 13, 2016 Share Posted December 13, 2016 سلام عليكم شباب اقدر اسويه اف2 ذي function PointG() if getElementData(localPlayer,"LoginTopP") then for i, valueT in ipairs(PointGang) do dxDrawFramedText ( "Top Player : "..valueT[1].. " ("..convertNumber(valueT[2])..")",(sX/400)*8, (sY/600)*250, (sX/800)*30, (sY/600)*80, tocolor(255,0,0, 255),1.0, "arial", "left", "top", false, false, true, false, false) PlayerBestG = valueT[1] end end end addEventHandler("onClientRender", root,PointG) اقدر اسويه اف2 ؟؟ لاهنت اي واحد يعرف يصلحه لي Link to comment
Abu-Solo Posted December 13, 2016 Share Posted December 13, 2016 1 minute ago, DmAr511 said: سلام عليكم شباب اقدر اسويه اف2 ذي function PointG() if getElementData(localPlayer,"LoginTopP") then for i, valueT in ipairs(PointGang) do dxDrawFramedText ( "Top Player : "..valueT[1].. " ("..convertNumber(valueT[2])..")",(sX/400)*8, (sY/600)*250, (sX/800)*30, (sY/600)*80, tocolor(255,0,0, 255),1.0, "arial", "left", "top", false, false, true, false, false) PlayerBestG = valueT[1] end end end addEventHandler("onClientRender", root,PointG) اقدر اسويه اف2 ؟؟ لاهنت اي واحد يعرف يصلحه لي تبيه يفتح من اف 2 يعني؟ 1 Link to comment
Jw8. Posted December 13, 2016 Author Share Posted December 13, 2016 7 minutes ago, Abu-Solo said: تبيه يفتح من اف 2 يعني؟ يب Link to comment
#BrosS Posted December 13, 2016 Share Posted December 13, 2016 سوي داتا ، وبعد الفنكشن سوي تحقق من الداتا لاظهار الكتابة 1 Link to comment
Jw8. Posted December 14, 2016 Author Share Posted December 14, 2016 9 hours ago, #BrosS said: سوي داتا ، وبعد الفنكشن سوي تحقق من الداتا لاظهار الكتابة تقدر تعطيني كود ؟ Link to comment
#BrosS Posted December 14, 2016 Share Posted December 14, 2016 getElementData setElementData bindKey 2 Link to comment
Abdul KariM Posted December 14, 2016 Share Posted December 14, 2016 سويها بالمتغيرات افضل من الداتا Link to comment
Jw8. Posted December 15, 2016 Author Share Posted December 15, 2016 20 hours ago, #BrosS said: getElementData setElementData bindKey thePlayer = getPlayerFromName ( playerName ) setElementData ( thePlayer, "tempdata.originalnick", sPlayerNickname ) bindKey ( player, "F2", "down", funcInput ) ابيك تعدله لي يعني وش احط؟ Link to comment
خلف Posted December 15, 2016 Share Posted December 15, 2016 local Show = false function PointG ( ) if Show == true then for i, valueT in ipairs(PointGang) do dxDrawFramedText ( "Top Player : "..valueT[1].. " ("..convertNumber(valueT[2])..")",(sX/400)*8, (sY/600)*250, (sX/800)*30, (sY/600)*80, tocolor(255,0,0, 255),1.0, "arial", "left", "top", false, false, true, false, false) PlayerBestG = valueT[1] end end end addEventHandler("onClientRender", root,PointG) bindKey ( "F2", "down", function ( ) if Show == false then Show = true showCursor ( true ) else Show = false showCursor ( false ) end end ) 1 Link to comment
Jw8. Posted December 19, 2016 Author Share Posted December 19, 2016 On 15.12.2016 at 8:33 AM, خلف said: local Show = false function PointG ( ) if Show == true then for i, valueT in ipairs(PointGang) do dxDrawFramedText ( "Top Player : "..valueT[1].. " ("..convertNumber(valueT[2])..")",(sX/400)*8, (sY/600)*250, (sX/800)*30, (sY/600)*80, tocolor(255,0,0, 255),1.0, "arial", "left", "top", false, false, true, false, false) PlayerBestG = valueT[1] end end end addEventHandler("onClientRender", root,PointG) bindKey ( "F2", "down", function ( ) if Show == false then Show = true showCursor ( true ) else Show = false showCursor ( false ) end end ) مشكوررر تقدر الصور ؟ addEventHandler("onClientRender", root, function() if Show == true then dxDrawImage( (sX / 800) * 1.0, (sY / 600) * 250.0, (sX / 800) * 15.0, (sY / 600) * 15.0, "new.png",0,0,0,tocolor(255,255,255,255)) else dxDrawImage( (sX / 800) * 1.0, (sY / 600) * 250.0, (sX / 800) * 15.0, (sY / 600) * 15.0, "new.png",0,0,0,tocolor(255,255,255,255)) end end ) Link to comment
خلف Posted December 19, 2016 Share Posted December 19, 2016 (edited) 54 minutes ago, DmAr511 said: مشكوررر تقدر الصور ؟ addEventHandler("onClientRender", root, function() if Show == true then dxDrawImage( (sX / 800) * 1.0, (sY / 600) * 250.0, (sX / 800) * 15.0, (sY / 600) * 15.0, "new.png",0,0,0,tocolor(255,255,255,255)) else dxDrawImage( (sX / 800) * 1.0, (sY / 600) * 250.0, (sX / 800) * 15.0, (sY / 600) * 15.0, "new.png",0,0,0,tocolor(255,255,255,255)) end end ) العفو , يب تضبط على الصورة بس عدل الكود خله addEventHandler("onClientRender", root, function ( ) if Show == true then dxDrawImage( (sX / 800) * 1.0, (sY / 600) * 250.0, (sX / 800) * 15.0, (sY / 600) * 15.0, "new.png",0,0,0,tocolor(255,255,255,255)) end end ) Edited December 19, 2016 by خلف Link to comment
Jw8. Posted December 19, 2016 Author Share Posted December 19, 2016 7 minutes ago, خلف said: العفو , يب تضبط على الصورة بس عدل الكود خله addEventHandler("onClientRender", root, function ( ) if Show == true then dxDrawImage( (sX / 800) * 1.0, (sY / 600) * 250.0, (sX / 800) * 15.0, (sY / 600) * 15.0, "new.png",0,0,0,tocolor(255,255,255,255)) end end ) اسمع في مشكله يعني مسويهن موودين كذا يعني اطلع من السيرفر واخش بتسوي واحد اضغط اف2 بتجي الثانيه ؟ Link to comment
#BrosS Posted December 19, 2016 Share Posted December 19, 2016 local Show = false function PointG ( ) if Show == true then for i, valueT in ipairs(PointGang) do dxDrawFramedText ( "Top Player : "..valueT[1].. " ("..convertNumber(valueT[2])..")",(sX/400)*8, (sY/600)*250, (sX/800)*30, (sY/600)*80, tocolor(255,0,0, 255),1.0, "arial", "left", "top", false, false, true, false, false) dxDrawImage( (sX / 800) * 1.0, (sY / 600) * 250.0, (sX / 800) * 15.0, (sY / 600) * 15.0, "new.png",0,0,0,tocolor(255,255,255,255)) PlayerBestG = valueT[1] end end end addEventHandler("onClientRender", root,PointG) bindKey ( "F2", "down", function ( ) if Show == false then Show = true showCursor ( true ) else Show = false showCursor ( false ) end end ) Link to comment
Ahmed Ly Posted December 19, 2016 Share Posted December 19, 2016 Show = false function PointG ( ) for i, valueT in ipairs(PointGang) do dxDrawFramedText ( "Top Player : "..valueT[1].. " ("..convertNumber(valueT[2])..")",(sX/400)*8, (sY/600)*250, (sX/800)*30, (sY/600)*80, tocolor(255,0,0, 255),1.0, "arial", "left", "top", false, false, true, false, false) dxDrawImage( (sX / 800) * 1.0, (sY / 600) * 250.0, (sX / 800) * 15.0, (sY / 600) * 15.0, "new.png",0,0,0,tocolor(255,255,255,255)) PlayerBestG = valueT[1] end end bindKey ( "F2", "down", function ( ) if Show == false then addEventHandler("onClientRender", root,PointG) Show = true else removeEventHandler("onClientRender", root,PointG) Show = false 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