idk why, but its not working
package HostCheck
{
function GameConnection::AutoAdminCheck(%client)
{
if(%client.isLocalConnection() || ($Server::LAN && $Server::Dedicated) || %client.getBLID() $= getNumKeyID()) //are they the host?
{
%r = parent::AutoAdminCheck(%client); //parent the script to make sure that it doesn't overwrite the original one
messageAll('',"\c7%client.name has become \c4Host \c7(Auto)",%client.name); //message everyone
return %r; //return the parent
}
}
}
activatePackage(HostCheck); //packages need activation, so activate the package