From 6a35aeebf7eac2bda3f7bc48c939eccfd0ab391b Mon Sep 17 00:00:00 2001 From: Bapt-tech <137829833+Bapt-Tech@users.noreply.github.com> Date: Wed, 9 Apr 2025 15:13:07 +0200 Subject: [PATCH] Update hud.lua --- hud.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hud.lua b/hud.lua index 6680447..f4b98d3 100644 --- a/hud.lua +++ b/hud.lua @@ -6,7 +6,7 @@ core.register_on_joinplayer(function(player) local data = {} data.imageid = player:hud_add({ - hud_elem_type = "image", + type = "image", name = "MailIcon", position = {x=0.52, y=0.52}, text="", @@ -15,7 +15,7 @@ core.register_on_joinplayer(function(player) }) data.textid = player:hud_add({ - hud_elem_type = "text", + type = "text", name = "MailText", position = {x=0.55, y=0.52}, text= "",