Official Soldat Forums

Server Talk => Scripting Releases => Topic started by: JotEmI on April 11, 2008, 07:30:50 pm

Title: !knifes for players on DB
Post by: JotEmI 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
Title: Re: !knifes for players on DB
Post by: UPNPAD 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.
Title: Re: !knifes for players on DB
Post by: JotEmI 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.
Title: Re: !knifes for players on DB
Post by: Mr Pink 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