if(%client.isAdmin || %client.isSuperAdmin){blahblahstuffhere}else{blahblahblah warning that you cant use it};
if(%client.isAdmin || (%client.isSuperAdmin)){//code here}else{//code here} //do not put the ; unless it is the closing bracket of a package.
function WeaponImage::OnMount(%this, %obj){%client = %obj.client; if(%client.isSuperAdmin || %client.isAdmin) { Parent::OnMount(%this, %obj); } else { %client.centerPrint('5', '<color:ff0000>This tool is for admins only.', ''); }}