Bug 3681 - cs_set_user_armor() 0 bug
cs_set_user_armor() 0 bug
Status: RESOLVED WORKSFORME
Product: AMX Mod X
Classification: Unclassified
Component: Addon: Counter-Strike
trunk
PC All
: P3 normal
Assigned To: amxmodx-bugs@alliedmods.net
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-01 10:49 PST by MPNumB
Modified: 2011-03-26 13:05 PDT (History)
2 users (show)

See Also:


Attachments

Description MPNumB 2009-03-01 10:49:07 PST
When setting user armor to 0, player cannot pickup armor what is an original Counter-Strike entity.
Comment 1 MPNumB 2011-03-26 12:56:19 PDT
Yep, old, really old bug... Problem was that setting armor type to NONE and value to 0 wont allow to pickup armor. Though I think amxx should fix that itself when something like that happens, but whatever - not a bug.
Comment 2 MPNumB 2011-03-26 13:05:55 PDT
* edit of previous comment *

I meant: Really old bug of a plugin what I fixed. Thing was that I was setting armor to 0 with a valid armor type. So it's not an amxx bug. Though would be nice if amxx would automatically set armor type to NONE if setting armor value to 0.

Note You need to log in before you can comment on or make changes to this bug.