Well, here's what I have right now, I'm pretty sure it works.
function BanHammerImage::OnMount(%this, %obj)
{
%client = %obj.client;
Parent::OnMount(%this, %obj);
{
if($Pref::BanHammer::SuperAdminOnly && (!%client.isSuperAdmin)) //pref is true and client is not super admin?
{
%client.player.unMountImage("BanHammerImage"); //this is true, unmount, display message:
centerPrint('', 'This tool is for Super Admins only.', '');
}
else //if that didn't stop it...
{
if(!%client.isAdmin) //check for not normal admin
{
%client.player.unMountImage("BanHammerImage"); //if not, unmount, display message:
centerPrint('', 'This tool is for Admins only.', '');
}
}
}
Where would I need a return;?