HUNGRY:3 Posted June 29, 2015 Share Posted June 29, 2015 hello i made a script that if some one have CJ skin it draws a rectangle but it's not working idk why code: lp = getLocalPlayer() addEventHandler("onClientRender", root, function() if getElementModel( lp, 0) == true then dxDrawRectangle(0, 0, 1680, 1050, tocolor(0, 0, 0, 255), false) dxDrawText("Please Wait 10 Seconds", 445 + 1, 459 + 1, 1186 + 1, 596 + 1, tocolor(0, 0, 0, 255), 3.00, "bankgothic", "center", "top", true, false, false, true, false) dxDrawText("Please Wait 10 Seconds", 445, 459, 1186, 596, tocolor(254, 255, 254, 255), 3.00, "bankgothic", "center", "top", true, false, false, true, false) end end ) Link to comment
KariiiM Posted June 29, 2015 Share Posted June 29, 2015 (edited) try this local lp = getLocalPlayer() addEventHandler("onClientRender", root, function() if getElementModel lp == 0 true then dxDrawRectangle(0, 0, 1680, 1050, tocolor(0, 0, 0, 255), false) dxDrawText("Please Wait 10 Seconds", 445 + 1, 459 + 1, 1186 + 1, 596 + 1, tocolor(0, 0, 0, 255), 3.00, "bankgothic", "center", "top", true, false, false, true, false) dxDrawText("Please Wait 10 Seconds", 445, 459, 1186, 596, tocolor(254, 255, 254, 255), 3.00, "bankgothic", "center", "top", true, false, false, true, false) end end ) Edited June 29, 2015 by Guest Link to comment
tuaos Posted June 29, 2015 Share Posted June 29, 2015 hello i made a script that if some one have CJ skin it draws a rectanglebut it's not working idk why code: lp = getLocalPlayer() addEventHandler("onClientRender", root, function() if getElementModel( lp, 0) == true then dxDrawRectangle(0, 0, 1680, 1050, tocolor(0, 0, 0, 255), false) dxDrawText("Please Wait 10 Seconds", 445 + 1, 459 + 1, 1186 + 1, 596 + 1, tocolor(0, 0, 0, 255), 3.00, "bankgothic", "center", "top", true, false, false, true, false) dxDrawText("Please Wait 10 Seconds", 445, 459, 1186, 596, tocolor(254, 255, 254, 255), 3.00, "bankgothic", "center", "top", true, false, false, true, false) end end ) (getElementModel ( lp ) == 0) Link to comment
HUNGRY:3 Posted June 29, 2015 Author Share Posted June 29, 2015 @tuaos you're awesome thanks! Link to comment
tuaos Posted June 29, 2015 Share Posted June 29, 2015 @tuaos you're awesome thanks! Np, Bro 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