View Single Post
steambob
Member
Join Date: Sep 2007
Old 03-10-2008 , 12:36   Re: [HL2:DM] Restricting Weapons on Spawn/Dropping Weapons
Reply With Quote #5

I have done something similar for hl2dm and found it easier to strip all weapons at first and then give the player the weapons you want.

Also, if you want to do this on player spawn, it is useful to start a timer and make strip/give operations with a small delay (I've made 0.1 seconds, though 0.0 which is next frame would also probably work ).

If you want I can post my plugin. Using it and the Stripper Source plugin I've made a crossbow/gravgun only server (I hope I do not make anything wrong if I post here the server IP so you can take a look how it works: 62.104.166.243:27015)
steambob is offline