Raised This Month: $32 Target: $400
 8% 

about getting each other's weapons,help!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eminemxw88
Senior Member
Join Date: Dec 2009
Old 07-30-2015 , 04:20   about getting each other's weapons,help!
Reply With Quote #1

if a regular player picks up an admin only weapon, does the attribute of the weapon remain the same?

since i want to disable this function, is there any command which can forbid player to pick up weapon that doesn’t belong himself?

thx!

Last edited by eminemxw88; 07-30-2015 at 04:54.
eminemxw88 is offline
Send a message via MSN to eminemxw88
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 08-01-2015 , 04:28   Re: about getting each other's weapons,help!
Reply With Quote #2

This should be added in tf2items, a fucntion for reset attrib on a wep to natural one.
But according to my test it's impossible to get the attributes on the entity.
__________________
Benoist3012 is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 08-01-2015 , 12:08   Re: about getting each other's weapons,help!
Reply With Quote #3

From my testing I was able to drop a gold frying pan with the item style override attribute forced on it.

Dropped weapons have the m_iAttributesTable or whatever netprop so TF2Attributes do work in modifying them. This was from awhile ago so Valve may have changed it since.

Last edited by Potato Uno; 08-01-2015 at 12:09.
Potato Uno is offline
eminemxw88
Senior Member
Join Date: Dec 2009
Old 08-05-2015 , 07:11   Re: about getting each other's weapons,help!
Reply With Quote #4

well,im done.
eminemxw88 is offline
Send a message via MSN to eminemxw88
scptrx
AlliedModders Donor
Join Date: Aug 2015
Location: The Netherlands
Old 10-22-2015 , 09:59   Re: about getting each other's weapons,help!
Reply With Quote #5

Code:
sm_cvar tf_dropped_weapon_lifetime 0
Put that in your server.cfg, it will disable weapon drops on death for everyone.
scptrx is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode