I seem to have small problems with shoot, it fires alright but the bullets/projectiles dont hurt the player.
Quote:
|
Originally Posted by Shoot
setshootparams #w,#v(this.gunpow);
shoot this.dx,this.dy,playerz,this.angle+random(this.max angle*-
1,this.maxangle),0,0,millenium_bullet,;
|
Then after a lot more script...
Quote:
|
Originally Posted by actionprojectile
if(actionprojectile){
if(strequals(#p(0),#w)){
playerhearts-=strtofloat(#p(this.pow));
}
}
|
Unless that has to be a serverside action?