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