Quote:
Originally Posted by pheadxdll
I do get this locker thing, that's why I offered advice.
Take a look at damizean's hat plugin. When a player activates an ammo cabnit, it reapplies the player's hat. You should use that, but remove the medics weapons, instead of hats. That's how you fix your problem.
And yes, players will die if they get shot in the head, or receive enough damage at once to kill them. You have to use dukehacks to fix that.
|
Dukehacks? Just use something like "SetEntProp(client, Prop_Data, "m_takedamage", 2, 1)" for god mode, and "SetEntProp(client, Prop_Data, "m_takedamage", 0, 1)" if you need them mortal again. It's worked fine for me in other plugins.