Blockland Forums > Modification Help
^^##Schedule## Error
Bloxxed:
--- Quote from: MegaScientifical on August 17, 2011, 10:35:17 AM ---
--- Code: ---package xcruso
{
function GameConnection::onClientEnterGame(%this)
{
Parent::onClientEnterGame(%this);
%this.schedule(2500, "snip");
}
};
activatepackage(xcruso);
function GameConnection::snip(%this)
{
centerPrint(%this, "<bitmap:Add-Ons/Server_snip/thePicture...>", 5);
}
--- End code ---
--- End quote ---
I just had to clean that up, I was going crazy.
Placid:
--- Quote from: Bloxxed on August 18, 2011, 12:05:53 PM ---
--- Quote from: MegaScientifical on August 17, 2011, 10:35:17 AM ---
--- Code: ---package xcruso
{
function GameConnection::onClientEnterGame(%this)
{
Parent::onClientEnterGame(%this);
%this.schedule(2500, "snip");
}
};
activatepackage(xcruso);
function GameConnection::snip(%this)
{
centerPrint(%this, "<bitmap:Add-Ons/Server_snip/thePicture...>", 5);
}
--- End code ---
--- End quote ---
--- End quote ---
--- Quote from: Bloxxed on August 18, 2011, 12:05:53 PM ---I just had to clean that up, I was going crazy.
--- End quote ---
MegaScientifical:
Holy forget, you made it worse. At the very least, tab them up like the close brackets.
PurpleMetro:
--- Quote from: MegaScientifical on August 18, 2011, 12:12:22 PM ---Holy forget, you made it worse. At the very least, tab them up like the close brackets.
--- End quote ---
mega scientifical bad.
Scars75:
--- Quote from: MegaScientifical on August 17, 2011, 10:35:17 AM ---
--- Code: ---package xcruso {
function GameConnection::onClientEnterGame(%this){
Parent::onClientEnterGame(%this);
%this.schedule(2500, "snip");
}
};
activatepackage(xcruso);
function GameConnection::snip(%this) {
centerPrint(%this, "<bitmap:Add-Ons/Server_snip/thePicture...>", 5);
}
--- End code ---
--- End quote ---
Awesome, I'm not the only one who scripts like that! :cookieMonster: