What is a good alternative to DecalData when we're now unable to use this datablock class to download small textures like 16x16? I dont want to implement a complicated File Downloader which involves HTML and all that.
Here's my main problem attempting to fix Admin Shields since Zack0Wack0 doesnt want to,
%host = getNumKeyID();
$hostID = %host;
package Script_AdminShieldsMod
{
function serverCmdMessageSent(%client,%msg)
{
%oldPrefix = %client.clanPrefix;
if(%client.isAdmin)
{
%client.clanPrefix = "<bitmap:add-ons/Script_AdminShieldsMod/icon_silverBadge.png>\c7 " @ %oldPrefix;
if(%client.isSuperAdmin)
{
%client.clanPrefix = "<bitmap:add-ons/Script_AdminShieldsMod/icon_goldBadge.png>\c7 " @ %oldPrefix;
if(%client.bl_id == $hostID)
{
%client.clanPrefix = "<bitmap:add-ons/Script_AdminShieldsMod/icon_crown.png>\c7 " @ %oldPrefix;
}
}
}
Parent::serverCmdMessageSent(%client,%msg);
%client.clanPrefix = %oldPrefix;
}
};
deactivatepackage(Script_AdminShieldsMod);
activatepackage(Script_AdminShieldsMod);
datablock decalData(AdminIcon)
{
textureName = "add-ons/Script_AdminShieldsMod/icon_goldBadge.png";
preload = true;
};
datablock decalData(ModeratorIcon)
{
textureName = "add-ons/Script_AdminShieldsMod/icon_silverBadge.png";
preload = true;
};
datablock decalData(HostIcon)
{
textureName = "add-ons/Script_AdminShieldsMod/icon_crown.png";
preload = true;
};
Since DecalData was probably removed, fixing this has become a nightmare. Or I cant get DecalData to work anymore. Either one wouldnt surprise me.
"<bitmap:add-ons/Script_AdminShieldsMod/FILE HERE LUL>" doesnt exist for the players, which means theres obviously a datablock problem.