Sign in to follow this  
Jacobob14

help pliss ..

Recommended Posts

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) 
  

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.