Author Topic: Killing Sprees  (Read 22718 times)

0 Members and 1 Guest are viewing this topic.

Offline mikembm

  • Soldier
  • **
  • Posts: 210
Re: Killing Sprees
« Reply #40 on: August 17, 2007, 01:27:26 pm »
Code: [Select]
if killer <> victim then begin
  if (GetPlayerStat(killer,'team') <> GetPlayerStat(victim,'team')) then begin
  ...
  end;
end;

Wouldn't "GetPlayerStat(killer,'team') <> GetPlayerStat(victim,'team')" already rule out that Killer <> Victim?

If you look at it better you will see that there is an else statement after it checks if teams are equal. I just accidentally indented it so you probably missed it. Anyways it does rule it out but it doesn't allow you to know if the killer was the victim - which is needed.

Offline Norbo

  • Camper
  • ***
  • Posts: 338
Re: Killing Sprees
« Reply #41 on: October 30, 2007, 12:45:55 pm »
ll 0 ll? Where is the download link? -_-

Offline mikembm

  • Soldier
  • **
  • Posts: 210
Re: Killing Sprees
« Reply #42 on: October 31, 2007, 02:52:55 am »

Offline Xaero

  • Soldier
  • **
  • Posts: 143
Re: Killing Sprees
« Reply #43 on: October 31, 2007, 02:56:00 pm »
Nice, I play regulary on a server using this script. It's quite fun :)

Offline Leipod

  • Major(1)
  • Posts: 15
  • Hi :D
Re: Killing Sprees
« Reply #44 on: November 13, 2007, 04:03:04 pm »
I have a problem with this script. When I join the server, it says: Not enough parameters.
When I kill someone, and when i leave the game too, it says: Out of range
I just downloaded the zipfile of the script from xJapx, and didn't do anything special.
The screenshot shows the errors when i join or leave the game.

Plz help.

EDIT: I installed it on the soldatserver 2.6.3. Does anyone knows if it's compatible with it? :P
« Last Edit: November 14, 2007, 09:39:25 am by Leipod »
Ingame: {ARG} Shad0w