C#:
public string GetImage(string shortname, ulong skin = 0) => (string)ImageLibrary.Call("GetImage", shortname, skin);
public bool AddImage(string url, string shortname, ulong skin = 0) => (bool)ImageLibrary?.Call("AddImage", url, shortname, skin);
C#:
void OnServerInitialized()
{
try
{
ImageLibrary.Call("isLoaded", null);
}
catch (Exception ex)
{
Puts($"GG imagelibrary: {ex.Message}");
}
AddImage("https://i.imgur.com/lcFP19y.png", "menu_image");
}
в итоге получаю черное изображение иконки раста