View Single Post
Author Message
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 11-20-2017 , 02:05   Way to check changeteam on TF2
Reply With Quote #1

Hi friends, i need one way to hook changeteam on TF2 to remove some entities from player.

I try this ways:

PHP Code:
public void OnPluginStart()
{
    
AddCommandListener(OnJoinTeam"jointeam");
    
AddCommandListener(OnChangeTeam"changeteam");

And this way dont work on TF2:
PHP Code:
HookEvent("player_team"OnPlayerChangeTeam); 
Because this event dont exists on TF2.

I make several search on google and forum but dont found any work way.

Any can help me with this?

Regards.
__________________
My Plugins | VIEW HERE | I accept private requests, send me a PM.
Buy respawn | Uber Recall | Grenade drop | Damage Supperssor
Meet the Medic | Disguise Expert | Crazy Jet

CZSBrasil TEAM

Last edited by rodrigo286; 11-20-2017 at 14:14.
rodrigo286 is offline