[Resolved] Why isn't this working?
1. September 2011 - 6:27
Lightning Gun { //Heal Gun or Earthquake Gun
if ( $xp_friendlyFire == 1 ) {
Cycle = 100;
Knockback = Damage = -1; //Needs friendly fire on to work.
else if ( $xp_friendlyFire == 0 ) {
Cycle = 250;
Knockback = -1;
Damage = 0;
Splash Damage = 12;
Splash Knockback 0;
Radius = 500;
}
}
}EDIT: Nevermind, fixed it.
1. September 2011 - 9:20
#1
Re: Why isn't this working?
so, and how?
1. September 2011 - 11:31
#2
Re: Why isn't this working?
gg
1. September 2011 - 11:46
#3
Re: Why isn't this working?
he forgot something before "else if" :
Quote:
} else if ( $xp_friendlyFire == 0 ) {
+ in the end one } must be removed
anyway i'll mark it as resolved.
_________
epsislow
1. September 2011 - 13:11
#4
Re: [Resolved] Why isn't this working?
looks like a good idea.. Its great how things move forward all the time.



