Quote:
Originally Posted by Tigairius
Examples in this thread have been horrendous.
Weapon:
PHP Code:
function onActionserverside() {
switch(params[0]) {
case "dead":
setlevel2("levelname", x, y);
break;
}
}
//#CLIENTSIDE
function onPlayerDies()
triggerserver("gui", this.name, "dead");
And for a single level:
PHP Code:
function onCreated()
setshape(1, 32, 32);
function onActionDied()
setlevel2("levelname", x, y);
//#CLIENTSIDE
function onPlayerDies()
triggeraction(x + 0.5, y + 0.5, "Died");
|
You made a good point Tig, they were kind of that..
although you could letup on the less advanced scripting peoples
than yourself
