I want to know how to add icons to chat, like icon16/shield.png next to a players name if they're super admin, admin, or owner (ULX of course)
I know this is part of the code
if ply:IsSuperAdmin() then
icon = "icon16/shield_add.png"
elseif ply:IsAdmin() then
icon = "icon16/shield.png"
elseif ply:IsUserGroup("owner") then
icon = "icon16/shield_rainbow.png"
elseif ply:IsUserGroup("moderator") then
icon = "icon16/shield_silver.png"
elseif ply:IsUserGroup("vip") then
icon = "icon16/rosette_blue.png"
end
end
But what else do i got to add to tell the server that I want certain ulx groups to get icons I select, please help!