Update hud.lua
Some checks failed
luacheck / luacheck (push) Has been cancelled
test / build (5.0.1) (push) Has been cancelled
test / build (5.1.1) (push) Has been cancelled
test / build (5.10.0) (push) Has been cancelled
test / build (5.2.0) (push) Has been cancelled
test / build (5.3.0) (push) Has been cancelled
test / build (5.4.1) (push) Has been cancelled
test / build (5.5.1) (push) Has been cancelled
test / build (5.6.1) (push) Has been cancelled
test / build (5.7.0) (push) Has been cancelled
test / build (5.8.0) (push) Has been cancelled
test / build (5.9.1) (push) Has been cancelled
test / build (latest) (push) Has been cancelled

This commit is contained in:
Bapt-tech 2025-04-09 15:13:07 +02:00 committed by Athozus
parent 1cc18b840c
commit 9fe6885f90

View file

@ -6,7 +6,7 @@ core.register_on_joinplayer(function(player)
local data = {} local data = {}
data.imageid = player:hud_add({ data.imageid = player:hud_add({
hud_elem_type = "image", type = "image",
name = "MailIcon", name = "MailIcon",
position = {x=0.52, y=0.52}, position = {x=0.52, y=0.52},
text="", text="",
@ -15,7 +15,7 @@ core.register_on_joinplayer(function(player)
}) })
data.textid = player:hud_add({ data.textid = player:hud_add({
hud_elem_type = "text", type = "text",
name = "MailText", name = "MailText",
position = {x=0.55, y=0.52}, position = {x=0.55, y=0.52},
text= "", text= "",