+ appeal card and username to user panel
This commit is contained in:
parent
bb71f5775f
commit
e7de7626ab
|
@ -6,9 +6,12 @@ local desh = 1920;
|
|||
|
||||
local bgImage = gfx.CreateSkinImage("gameplay/user_panel/bg.png", 0);
|
||||
|
||||
local appealCardImage = gfx.CreateSkinImage("appeal_card.png", 0);
|
||||
local danBadgeImage = gfx.CreateSkinImage("dan.png", 0);
|
||||
|
||||
|
||||
local username = game.GetSkinSetting('username') or '';
|
||||
|
||||
local tickTransitions = function (deltaTime)
|
||||
|
||||
end
|
||||
|
@ -27,6 +30,24 @@ local render = function (deltaTime)
|
|||
0
|
||||
);
|
||||
|
||||
-- Draw appeal card
|
||||
gfx.BeginPath();
|
||||
gfx.ImageRect(
|
||||
10,
|
||||
767,
|
||||
150*0.62,
|
||||
192*0.62,
|
||||
appealCardImage,
|
||||
1,
|
||||
0
|
||||
);
|
||||
|
||||
-- Draw username
|
||||
gfx.LoadSkinFont('Digital-Serial-Bold.ttf')
|
||||
gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_MIDDLE)
|
||||
gfx.FontSize(26)
|
||||
gfx.Text(username, 150, 802);
|
||||
|
||||
-- Draw dan badge & volforce
|
||||
gfx.BeginPath();
|
||||
gfx.ImageRect(
|
||||
|
|
Loading…
Reference in New Issue