Quote:
Originally Posted by cbk1994
I'd rather seen it done like in JavaScript
PHP Code:
//#CLIENTSIDE
function onCreated() {
universe.onLevelChange = function (levelName, x, y) {
stupidFadeEffect();
// etc
return true; // false would cancel the default action
};
}
|
This is pretty much it, canceling the default action is also important.