Get servergroup icon

Some_body

New Member
Joined
Mar 27, 2017
Messages
30
Reaction score
4
Points
20
The method works good but I call all my servergroups and some servergroups they do not have Icon so it's show like an error icon in web , how can I solve this I tried
Try and catch but it's didn't work I wanted if there is no icon for the group show at the web as empty
Any help ?
@Kleberstoff @Ridicc
:rolleyes:
 

Norvik

Retired Staff
Contributor
Joined
Jul 18, 2015
Messages
635
Reaction score
588
Points
157
The method works good but I call all my servergroups and some servergroups they do not have Icon so it's show like an error icon in web , how can I solve this I tried
Try and catch but it's didn't work I wanted if there is no icon for the group show at the web as empty
Any help ?
@Kleberstoff @Ridicc
:rolleyes:
I didn't test it but I guess you could use getIcon to test whether it has an icon or not.
 

FromLondon

Honk Honk
TeamSpeak Developer
VIP
Joined
May 20, 2016
Messages
264
Reaction score
107
Points
136
For website you can show icons in data/64 format)
 
Top