FIX - resolve radio members by character identity

This commit is contained in:
DerEchteAlec
2026-08-17 05:14:34 +02:00
parent a99becff87
commit a888f206ff
5 changed files with 121 additions and 1 deletions
@@ -55,6 +55,14 @@ local function get_character_info(source)
return player and player.PlayerData and player.PlayerData.charinfo or nil
end
function Bridge.Framework.GetCharacterName(source)
local character = get_character_info(source)
if not character then
return nil, nil
end
return character.firstname, character.lastname
end
function Bridge.Framework.GetFirstname(source)
local character = get_character_info(source)
return character and character.firstname or nil