Raised This Month: $ Target: $400
 0% 

[TF2] Set Client Attribute


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
StormishJustice
Member
Join Date: May 2015
Location: In a mysterious place.
Plugin ID:
5108
Plugin Version:
1.0.2
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Gives a player an attribute to it's client.
Old 04-03-2016 , 16:26   [TF2] Set Client Attribute
Reply With Quote #1

This plugin makes the player (you or anyone) have attributes on their class, just like "CharacterAttributes" on MvM Popfiles or Class Upgrades in MvM but you set the attribute yourself

The commands to this plugin are:
  • sm_setattribclient "target" "attribute name" "value"
  • sm_removeattribclient "target" "attribute name"
  • sm_removeallattribsclient "target"
For the attributes, go to http://optf2.com/440/attributes and search the attribute you want to add into yourself (typing attribute indexes will not work, only attribute names and value after the name)

Note this plugin requires TF2Attributes to work, if not then the plugin will not even work.

Changelog
Version 1.0.0 - Initial Release
Version 1.0.1 - Added sm_removeallattribsclient to remove all the attributes from client
Version 1.0.2 - Updated details of the plugin, removed filter alive players only since attributes doesn't remove when dead.

Credits
The credits are on the plugin's code.

If there's any problem with the plugin, please reply, i would be glad to help.
Attached Files
File Type: sp Get Plugin or Get Source (SetAttribute.sp - 551 views - 3.6 KB)
File Type: smx SetAttribute.smx (5.7 KB, 720 views)
__________________

Last edited by StormishJustice; 04-10-2016 at 16:48. Reason: Version 1.0.2
StormishJustice is offline
Send a message via AIM to StormishJustice Send a message via Yahoo to StormishJustice Send a message via Skype™ to StormishJustice
 



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 21:11.


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