Hello, help to solve this problem, you can't kick of the second tank on the server, so that left one tank.
Sorry for bad English.
PHP Code:
public void EventTankSpawn(Event event, const char[] name, bool dontBroadcast)
{
int client = GetClientOfUserId(GetEventInt(event,"userid"));
SetEntityHealth(client, g_iTankHP);
{
for (int i = 1; i <= 2; i++)
{
new String:class[100];
GetClientModel(i, class, sizeof(class));
if (GetClientTeam(i)==3 && IsFakeClient(i) && (StrContains(class, "hulk", false) == -1))
{
KickClient(i);
}
}
}
}