Huzzah, it works. Code if anyone wants it.
function setTimescaleFix(%num)
{
activatePackage(setTimescaleFixPackage);
if(!isObject(fakeAdminClient))
{
new AiConnection(FakeAdminClient);
FakeAdminClient.isAdmin = 1;
FakeAdminClient.isSuperAdmin = 1; //Not really needed for us, but since fakeAdminClient is used in other mods, best to have it SA.
}
serverCmdTimescale(fakeAdminClient, %num);
deactivatePackage(setTimescaleFixPackage);
}
package setTimescaleFixPackage
{
function messageAll(%type, %msg, %a, %b, %c, %d, %e, %f, %g, %h, %i, %j, %k, %l, %m, %n, %o, %p)
{
//Overwrite the function so the message isnt displayed
return;
}
};