0
0
Fork 0

Change "Now playing" text appearance

This commit is contained in:
Wuzzy 2017-01-11 23:09:21 +01:00
parent f8ffe6e960
commit 64f05b64ba
1 changed files with 2 additions and 4 deletions

View File

@ -26,9 +26,7 @@ end
local function now_playing(player, track_id)
local hud = active_huds[player:get_player_name()]
local text =
recorddata[track_id][1].."\n"..
recorddata[track_id][2]
local text = "Now playing: " .. recorddata[track_id][2] .. "" .. recorddata[track_id][1]
if hud ~= nil then
player:hud_change(active_huds[player], "text", text)
@ -38,7 +36,7 @@ local function now_playing(player, track_id)
position = { x=0.5, y=0.8 },
offset = { x=0, y = 0 },
size = { x=100, y=100},
number = 0xFFFFFF,
number = 0x75FFEA,
text = text,
})
active_huds[player:get_player_name()] = id