Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Time = getTickCount();
- FunctionAlpha = function()
- 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 ) );
- if MoneyGave then
- 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 ) );
- end
- if getTickCount() - Time >= LiveTime then
- Times = Times + 0.5;
- Alpha = math.lerp( 250, 0, Times );
- if Alpha <= 0 then
- removeEventHandler( "onClientRender", root, FunctionAlpha );
- Rendered = false;
- HUD.m_WeaponAlpha = 250;
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement