NanoBob

HUD element data money draw

Mar 17th, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. moneyCount=getElementData(getLocalPlayer(),"FGNMoney")
  2.     if moneyCount~=false then
  3.         dxDrawText("$"..math.ceil(moneyCount-0.5),bgSX+bgX*0.05,bgSY+bgY*0.0+105,bgSX+bgX*0.75+5,screeny,tocolor(0,0,0,255),1.5,"pricedown","right","top",false,false,true,false,true) --shadow
  4.         dxDrawText("$"..math.ceil(moneyCount-0.5),bgSX+bgX*0.05,bgSY+bgY*0.0+100,bgSX+bgX*0.75,screeny,tocolor(0,75,0,255),1.5,"pricedown","right","top",false,false,true,false,true)
  5.     end
Add Comment
Please, Sign In to add comment