View Single Post
jouva
Senior Member
Join Date: Jan 2010
Old 07-31-2010 , 03:21   Re: [TF2] Equipment manager 1.1.8 (05/22/10)
Reply With Quote #1247

Damizean, you need this in your init code:

Code:
HookEvent("player_changeclass", Event_RemoveItem,  EventHookMode_Pre);
This will fix the issue I brought up here:

Quote:
Originally Posted by jouva View Post
Found a bug: When you change classes in spawn where "suicide after class change" is unchecked, world view still has the hat from the previous class even if it's not available for that class.

My guess is that it's related to Item_RetrieveSlotCookie only checking the current class. player_death unequips so a suicide before the class change unequips before the respawn.
jouva is offline