Update hud.lua

This commit is contained in:
Bapt-tech 2025-04-09 15:13:07 +02:00 committed by GitHub
parent 1cc18b840c
commit 6a35aeebf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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= "",