Raised This Month: $ Target: $400
 0% 

FF2 Freak Fortress 2 1.10.14 Released


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-16-2014 , 10:34   Re: Freak Fortress 2 1.9.3 Released (and 1.10.0 betas)
Reply With Quote #11

Since I don't have any botkillers, I haven't actually been able to test whether RemovePlayerItem (which does an SDKCall to CTFPlayer::RemovePlayerItem(CBaseCombatWeapon *) for the client) removes the BotKiller heads. In theory it should simply because it's the "correct" way to remove an item, much like calling [TF2] Wearables's* TF2_RemovePlayerWearable (which does an SDKCall to CTFPlayer::RemoveWearable(CEconWearable *)) should remove any extra wearables and restore any bodygroups said wearable changed.

Unfortunately, TF2_RemoveWeaponSlot and TF2_RemoveAllWeapons were updated a while back to use the Kill input instead.

For that matter, KillHierarchy may remove the botkiller heads as well... it's unknown at this time.

* Note that the only reason this plugin isn't released on this site is because TF2_GetPlayerLoadoutSlot doesn't have proper Windows gamedata and I might remove it anyway due to it only returning one of the 3 Cosmetic slot items... which is the entire reason it existed in the first place.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-16-2014 at 10:40.
Powerlord 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 14:00.


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