Raised This Month: $202 Target: $400

Fixed the preserve attributes bug... kinda

Post New Thread Reply   
Thread Tools Display Modes
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 - 86 views - 15.3 KB)
Blocked Attachments
File Type: smx tf2items_manager.smx
xSquared/Silver's Custom Attributes:https://forums.alliedmods.net/showth...02#post2663402

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

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 04:34.

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