чем поможет список плагиов исправлению ошибки?
public Dropped(Handle:event, const String:name[], bool:dontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(event, "userid"));
if(IsClientConnected(client) && IsClientInGame(client) && GetClientTeam(client) == CS_TEAM_CT)
{
wait = true;
CreateTimer(0.5, WaitCheck);
holding[client] = false;
}
}
public Dropped(Handle:event, const String:name[], bool:dontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(event, "userid"));
if(GetClientTeam(client) == CS_TEAM_CT)
{
wait = true;
CreateTimer(0.5, WaitCheck);
holding[client] = false;
}
}
L 11/02/2012 - 19:56:29: SourceMod error session started
L 11/02/2012 - 19:56:29: Info (map "ba_jail_alpha") (file "errors_20121102.log")
L 11/02/2012 - 19:56:29: [SM] Native "GetClientTeam" reported: Client index 0 is invalid
L 11/02/2012 - 19:56:29: [SM] Displaying call stack trace for plugin "ctc4.smx":
L 11/02/2012 - 19:56:29: [SM] [0] Line 69, D:\vlad\Servers\Zapusk\Jail\cstrike\addons\sourcemod\scripting\ctc4.sp::Dropped()