View Single Post
Author Message
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 05-29-2018 , 00:39   [TF2] Weapon Attribute Setter
Reply With Quote #1

.
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

.

Last edited by JoinedSenses; 03-01-2020 at 18:34. Reason: Updated version to 1.1.1
JoinedSenses is offline