View Single Post
  #6  
Old 11-30-2009, 01:22 AM
GULTHEX GULTHEX is offline
Registered User
Join Date: Jul 2008
Posts: 148
GULTHEX can only hope to improve
this is new :P

havent learned a new concept in a long time so heres what i got

i tried this but still wont set the level




PHP Code:
function onActionServerSide() {  
  if (
params[0] == "respawn") {  
    
player.setlevel2("milgmap_ab-ae.nw"960); 
      
player.setAni("dead"NULL); 
       
clientr.hp == 100
  }  
}  
//#CLIENTSIDE 
function onActionProjectile() 

if (
clientr.hp>=0) { 
    
setani hurt,; 
    
clientr.hp -= 20
    } 
    else 
    { 
    
dead
}  
}   
function 
Dead() { 
  
triggerserver("gui"this.name"respawn"); 
Reply With Quote