Thread: Sm_Skinchooser
View Single Post
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 03-14-2009 , 13:00   Re: Sm_Skinchooser for Counterstrike Source
Reply With Quote #6

Open sm_skinchooser_css.sp and delete the following lines :

#define TEAM_T 2
#define TEAM_CT 3


and this block :

public Event_PlayerTeam(Handle:event, const String:name[], bool:dontBroadcast)
{

new client = GetClientOfUserId(GetEventInt(event, "userid"));
new team = GetEventInt(event, "team");
if((team == TEAM_T || team == TEAM_CT) && IsClientInGame(client))
{
Command_Model(client, 0);
}
return;
}


then go to sourcemod webcompiler and compile again.
andi67 is offline