Jacobob14 Posted February 25, 2014 Share Posted February 25, 2014 how can I bring up the name of the weapon and not the ID of weapon local weapon = getPedWeapon(localPlayer) local r, g, b = getPlayerNametagColor (localPlayer) dxDrawImage (sWidth-250,sHeight-133 ,260, 120,"bg_hud1.png" ) dxDrawText("Dinero: "..getPlayerMoney().." $",sWidth-2,sHeight-129,sWidth-2,sHeight-48, tocolor(255, 255, 255), 0.5, "bankgothic","right","top",false,false,false,true) dxDrawText("Money: "..getPlayerName(localPlayer),sWidth-2,sHeight-115,sWidth-2,sHeight-48, tocolor(r, g, b), 0.5, "bankgothic","right","top",false,false,false,true) dxDrawText("Weapon : " .. weapon" - ",sWidth-160,sHeight-93,sWidth-160,sHeight-93, tocolor(255, 255, 255), 0.5, "bankgothic","right","top",false,false,false,true) 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