1
0
mirror of https://gitlab.com/rubenwardy/awards.git synced 2025-07-03 00:20:33 +02:00

Add icons for awards

This commit is contained in:
Sirrobzeroone
2019-08-20 20:28:15 +10:00
committed by rubenwardy
parent 1ffa8f10ac
commit 8f46d5b37d
181 changed files with 508 additions and 79 deletions

View File

@ -160,7 +160,7 @@ function awards.unlock(name, award)
local four = player:hud_add({
hud_elem_type = "image",
name = "award_icon",
scale = {x = 4, y = 4},
scale = {x = 2, y = 2}, -- adjusted for 32x32 from x/y = 4
text = icon,
position = {x = 0.5, y = 0.05},
offset = {x = -200.5, y = 126},