Advertisement
Guest User

Untitled

a guest
Jan 24th, 2015
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.93 KB | None | 0 0
  1. Time = getTickCount();
  2.         FunctionAlpha = function()
  3.                             dxDrawBorderedText( "$"..Money, StartX, StartY, 0, 0, tocolor( 255, 255, 255, Alpha ), HUD.m_FontSize, HUD.m_FontSize, "pricedown", "left", "top", false, false, false, true, false, 0, 0, 0, 2, tocolor( 0, 0, 0, Alpha ) );
  4.                             if MoneyGave then
  5.                                 dxDrawBorderedText( Sign..MoneyGave, StartX-5, StartY + dxGetFontHeight( HUD.m_FontSize, "pricedown" ), EndX, 0, tocolor( Color[1], Color[2], Color[3], Alpha ), HUD.m_FontSize, HUD.m_FontSize - 0.15, "pricedown", "right", "top", false, false, false, true, false, 0, 0, 0, 2, tocolor( 0, 0, 0, Alpha ) );
  6.                             end
  7.                             if getTickCount() - Time >= LiveTime then
  8.                                 Times = Times + 0.5;
  9.                                 Alpha = math.lerp( 250, 0, Times );
  10.                                 if Alpha <= 0 then
  11.                                     removeEventHandler( "onClientRender", root, FunctionAlpha );
  12.                                     Rendered = false;
  13.                                     HUD.m_WeaponAlpha = 250;
  14.                                 end
  15.                             end
  16.                         end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement