function test(%client) {
commandToClient(%client,'centerPrint',"Is the message still up? ", -1);
}
package print {
function gameConnection::onClientEnterGame(%client) {
parent::onClientEnterGame(%client);
test(%client);
}
};
activatePackage(print);
The parent needs to be called first so the player spawns first, and the min/max duration of a centerPrint is from -1 to 999, I believe.