UltraXx Posted May 24, 2016 Share Posted May 24, 2016 (edited) This does not seem to be working (highlighted) red function dxDrawIt () local myjob = getPlayerTeam(getLocalPlayer()) dxDrawText("JOB: "..getTeamName(myjob).."", screenW * 0.8349, screenH * 0.0417, screenW * 0.9917, screenH * 0.1176, tocolor(255, 255, 255, 255), 1.10, "default-bold", "left", "top", false, false, false, false, false) end addEventHandler("onClientRender", root, dxDrawIt) Edited May 25, 2016 by Guest Link to comment
Bean666 Posted May 24, 2016 Share Posted May 24, 2016 This does not seem to be working (highlighted) redfunction dxDrawIt () local myjob = getPlayerTeam(getLocalPlayer) dxDrawText("JOB: "..getTeamName(myjob).."", screenW * 0.8349, screenH * 0.0417, screenW * 0.9917, screenH * 0.1176, tocolor(255, 255, 255, 255), 1.10, "default-bold", "left", "top", false, false, false, false, false) end addEventHandler("onClientRender", root, dxDrawIt) can u give us what's written in debug. Link to comment
UltraXx Posted May 24, 2016 Author Share Posted May 24, 2016 http://prntscr.com/b7o7to Line 5 is local, 14 is the second highlighted Link to comment
ViRuZGamiing Posted May 24, 2016 Share Posted May 24, 2016 getLocalPlayer has to be getLocalPlayer() or localPlayer Link to comment
UltraXx Posted May 25, 2016 Author Share Posted May 25, 2016 Now this is my issue: http://prntscr.com/b82wy5 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