Author Topic: !knifes for players on DB  (Read 2018 times)

0 Members and 1 Guest are viewing this topic.

Offline JotEmI

  • Soldier
  • **
  • Posts: 188
!knifes for players on DB
« on: April 11, 2008, 07:30:50 pm »
Script Name: Knife Spawn
Script Description: Often on DB maps players run out of knifes. Now they can type !knifes and every living player will be given one knife right at his feet. Knifes are spawned only if there are no other knifes left on the map.
Original Author: JotEmI
Core Version: 2.6.3

Offline UPNPAD

  • Major(1)
  • Posts: 36
Re: !knifes for players on DB
« Reply #1 on: April 11, 2008, 11:03:09 pm »
If you're disabling all weapons except knives in the weapon menu, then there may be knives in the map that you haven't detected (by way of choosing them in the weapon menu). In OnPlayerRespawn you may want to fix that.

Offline JotEmI

  • Soldier
  • **
  • Posts: 188
Re: !knifes for players on DB
« Reply #2 on: April 12, 2008, 06:22:24 am »
Hmm I've tested it for quite a long time and nothing of this ever happened. Knifes were always spawned when there was no other knifes on the map. But thx for suggestion, I'll look into that.

Offline Mr Pink

  • Major(1)
  • Posts: 37
Re: !knifes for players on DB
« Reply #3 on: April 13, 2008, 05:28:27 pm »
Ah very nice!

My only issue is your continued use of  'knifes' (a verb) instead of knives!! XD
« Last Edit: April 13, 2008, 05:30:02 pm by Mr Pink »