.
Weapon Attribute Setter
v1.1.1
Description:
Modify attributes of client's active weapon on the fly
This plugin was created for development and testing. Attributes reset on class change.
Similar to
this plugin, but instead of targeting clients, targets active weapons.
Requires
smlib and
tf2attributes
Commands:
sm_attribute (target)
// Change attributes of targetted client's active weapon
sm_resetattributes (target|blank)
// Reset attributes on all weapons of target. If blank, resets attributes of self.
sm_getweapon (target)
// Displays client active weapon name and entity#
How:
/attribute
playerName intAttribute floatValue
/resetattributes
playerName
/getweapon
playerName
Example:
/attribute
joinedsenses 819 1.0
This would add
no_jump to my active weapon, preventing me from jumping.
List of attributes:
https://wiki.teamfortress.com/wiki/L...tem_attributes
Project here:
Github
.