View Single Post
Furchee
Member
Join Date: Aug 2010
Old 09-06-2015 , 00:08   Re: CSGO glitch from the latest update 9-3-2015
#30

Quote:
Originally Posted by Dr!fter View Post
This appears to fix it.

PHP Code:
#include <sourcemod>

public OnPluginStart()
{
    
HookEvent("teamchange_pending"TeamChangePendingEventHookMode_Pre);
}

public 
Action:TeamChangePending(Handle:event, const String:name[], bool:bDontBroadcast)
{
    new 
client GetEventInt(event"userid");
    new 
team GetEventInt(event"toteam");
    
SetEntProp(clientProp_Send"m_iTeam"team);

Confirmed to be working. The other plugin did not though.
Those who are too lazy to compile can grab it here.
Furchee is offline