Thread: Spawn Point
View Single Post
  #23  
Old 10-08-2007, 12:22 PM
Zanzel Zanzel is offline
<insert title here>
Zanzel's Avatar
Join Date: Dec 2006
Posts: 35
Zanzel is on a distinguished road
Quote:
Originally Posted by Tigairius View Post
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
__________________
  • N-Pulse / N-Pulse Reborn Scripter
  • Graal Kingdoms Player
  • N-Pulse Player
Reply With Quote