Raised This Month: $ Target: $400
 0% 

How can I change item_class?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
VintageDoodle
Junior Member
Join Date: Mar 2014
Old 04-05-2014 , 07:42   How can I change item_class?
Reply With Quote #1

Is it possible to change the "item_class" of a weapon in tf2items.weapons.txt?

PHP Code:
            KvGetString(hKeyValues"class"strBuffersizeof(strBuffer));
            
TF2Items_SetClassname(hItemstrBuffer);
            
iItemFlags |= OVERRIDE_CLASSNAME
Why does this remove weapons?

I found a related thread https://forums.alliedmods.net/showthread.php?p=2046815 here but I don't understand what powerlord means by keeping track of when the weapon is being replaced.

Last edited by VintageDoodle; 04-05-2014 at 12:07.
VintageDoodle is offline
 



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:29.


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