I'm guessing you're trying to do this with a plugin. You should use IPlayerInfo::ChangeTeam(int). Using anything defined by the game DLL is dangerous when you don't have access to their source code.
Though I still say Valve should provide an engine-defined version of CBaseEntity, CBasePlayer, and CBaseCombatCharacter. Or just something that can give you access to those sorts of things, as well as maybe some sort of reflection ability so you can see what methods the game is giving you. [EMAIL PROTECTED] wrote:
Hello peeps, I have hooked both of these functions in the gamedll and only the CBaseEntity version works - albeit in a limited fashion. I know the CBasePlayer is f00ked because of an out of sync SDK, and can probably be fixed other ways, so I have 2 questions. 1) When I change a players team using the CBaseEntity version, the player is swapped. The catch is, that the player never gets respawned, what other stuff do I need to do? 2) Does someone provide me with a temporary solution for using CBasePlayer whilst we wait for the next SDK release?
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

