View Single Post
Author Message
Junior Member
Join Date: Jan 2019
Old 03-20-2020 , 04:33   Fixed the preserve attributes bug... kinda
Reply With Quote #1

So something that I've had to deal with, while using this plugin is basically "preserve-attributes" not behaving the way it should

The way I fixed this was by editing the source code of tf2items_manager to set the default value of "preserve-attributes" to be 1, or on.

What this does is it tells the game that unless specified, the game will preserve the attributes of the weapon.

I'll attach a download for the new tf2items_manager.smx for anyone who had the same problem, maybe it will work for you.

NOTE: If you want to preserve the attributes of the weapon, do not include "preserve-attributes" "1" on the weapons you wish to preserve the attributes of.
Attached Files
File Type: sp Get Plugin or Get Source (tf2items_manager.sp - 82 views - 15.3 KB)
Blocked Attachments
File Type: smx tf2items_manager.smx
xSquared/Silver's Custom Attributes:

Last edited by xSquared; 03-23-2020 at 00:17. Reason: Gotta add source code :)
xSquared is offline