Thread: Spawn Point
View Single Post
  #25  
Old 10-15-2007, 05:25 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
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"); 
Isnt triggeraction always asking for atleast 4 arguments?
Reply With Quote