View Single Post
  #1  
Old 02-20-2009, 08:09 PM
GULTHEX GULTHEX is offline
Registered User
Join Date: Jul 2008
Posts: 148
GULTHEX can only hope to improve
somebody help me with this script

PHP Code:
//#CLIENTSIDE
//up
if (playerdir=0){
  
this.x=playerx-1;
  
this.y=playery-2;
}
//left
if (playerdir=1){
  
this.x=playerx-2;
  
this.y=playery;
}
//down
if (playerdir=2){
  
this.x=playerx+1;
  
this.y=playery+2;
}
//right
if (playerdir=3){
  
this.x=playerx+2;
  
this.y=playery;
}
if (
playerenters) {
  
toweapons Test;
}

if (
weaponfired){
  
setani dg_iron-sword-attack,;
  
freezeplayer 0.0383;
  
sleep 0.1;
}

if (
actionprojectile) {
  if(
strequals(#p(index),PARAMEQUALS)) {
    
hurt 3;
  }



hmm for some reason it dont hurt the player whats wrong with it please correct me in the script
Reply With Quote