This plugin has a cvar that will do what you want.

https://forums.alliedmods.net/showthread.php?t=249900

Put knifeswapper_forcespawn 1 in your gamemode_server config.

It also allows players to switch each others knives around.

And yes. This doesn't breach Valves compliance request.

<div>-------- Original message --------</div><div>From: zAfLu - Dennis 
<[email protected]> </div><div>Date:29/07/2015  08:08  (GMT+10:00) 
</div><div>To: [email protected] </div><div>Subject: Re: 
[Csgo_servers] Get knives on surf maps </div><div>
</div>Not tested on live servers for now. Will do a live test tomorrow.

Am 28.07.2015 um 23:13 schrieb Andreas Willinger:
> It seems as simply doing GivePlayerItem("weapon_knife") causes the server to
> crash quite often (CCSPlayer::GiveDefaultItems()).
> Is it working fine for you?
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]] Im Auftrag von zAfLu -
> Dennis
> Gesendet: Dienstag, 28. Juli 2015 22:20
> An: [email protected]
> Betreff: Re: [Csgo_servers] Get knives on surf maps
>
> Yes thats what i mean. The plugin is self writen by us and only give the
> default knife (weapon_knife).
> But i don't want to get blacklisted because of a plugin which use !knife to
> get a knife :)
>
>
> Am 28.07.2015 um 22:15 schrieb Ryan Cloherty:
>> If by that you mean that the map disables knives, then of course
>> having a plugin that enables them by giving ONLY the default knife
>> should be fine. Jut make sure it isn't the normal !knife plugin.
>>
>> On Tue, Jul 28, 2015 at 4:13 PM, zAfLu - Dennis <[email protected]>
> wrote:
>>> Hello my friends,
>>>
>>> im currently facing some issues with "no knives" on some surf maps.
>>> Most people want to surf with knives and they are missing the !knife
>>> plugin. What about a plugin which just give you your knife
>>> (weapon_knife)? Are plugins like that allowed? I don't want to give
>>> people knives which are not in their inventories.
>>>
>>> zAfLu - Dennis
>>>
>>>
>>> _______________________________________________
>>> Csgo_servers mailing list
>>> [email protected]
>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>> _______________________________________________
>> Csgo_servers mailing list
>> [email protected]
>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>
>
> _______________________________________________
> Csgo_servers mailing list
> [email protected]
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>
>
> _______________________________________________
> Csgo_servers mailing list
> [email protected]
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers



_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Reply via email to