Blockland Forums > Modification Help

Not sure why this script isn't working.

Pages: (1/3) > >>

tyler0:


--- Code: ---package print
{
function test(%client) {

commandToClient(%client,'centerPrint',"Is the message still up? ",-1);
}

function gameConnection::onClientEnterGame(%client) {

test(%client);
Parent::onClientEnterGame(%client);
}
};
activatePackage(print);
--- End code ---


Kalphiter:

I really don't know how you display the message for -1 seconds

tyler0:

lol it holds it on the screen

Kalphiter:


--- Quote from: tyler0 on June 09, 2011, 09:09:19 PM ---lol it holds it on the screen

--- End quote ---
I'm guessing it schedules it, but -1 seconds ago wouldn't be reached.

tyler0:


--- Quote from: Kalphiter on June 09, 2011, 09:11:35 PM ---I'm guessing it schedules it, but -1 seconds ago wouldn't be reached.

--- End quote ---

what? It's not scheduling it? Just say that it will disappear in -1 milisecs. Right?

Pages: (1/3) > >>

Go to full version