Raised This Month: $51 Target: $400
 12% 

Add support for GetLoadoutSlot


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-28-2012 , 14:40   Add support for GetLoadoutSlot
Reply With Quote #1

It'd be nice if we could use the item definition index we get from TF2Items to find out what loadout slot an item takes.

While poking around in a disassembler a few minutes ago, I noticed that there's a CTFItemDefinition::GetLoadoutSlot(class) function.

Imagine my surprise when I Googled CTFItemDefinition and found that tf_dodgeball already had a signature for this function.

Can we get this function added to TF2Items?
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-28-2012 at 15:15.
Powerlord is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-28-2012 , 17:11   Re: Add support for GetLoadoutSlot
Reply With Quote #2

It was removed again for a reason, it's not coming back.

EDIT: https://forums.alliedmods.net/showthread.php?t=174047

EDIT 2: The end of https://forums.alliedmods.net/showpo...&postcount=701
__________________

Last edited by asherkin; 08-28-2012 at 17:15.
asherkin is offline
Reply



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


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