Thread: Spawn Point
View Single Post
  #2  
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"xy);
    break;
  }
}
//#CLIENTSIDE
function onPlayerDies() 
  
triggerserver("gui"this.name"dead"); 

And for a single level:
PHP Code:
function onCreated() 
  
setshape(13232);

function 
onActionDied() 
  
setlevel2("levelname"xy);

//#CLIENTSIDE
function onPlayerDies() 
  
triggeraction(0.50.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