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"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"); 
Isnt triggeraction always asking for atleast 4 arguments?
Reply With Quote