Code:
#pragma semicolon 1
#include <sourcemod>
#include <cstrike>
#include <sdktools>
#pragma newdecls required
public void OnPluginStart()
{
HookEvent("player_spawn", Event_Spawn);
}
public Action Event_Spawn(Event event, const char[] name, bool dontBroadcast)
{
if (GetTeamClientCount(CS_TEAM_CT) == 5 && GetTeamClientCount(CS_TEAM_T) == 5)
{
Kniferoundcykablyat();
}
}
is this the way to go when I want a kniferound to start when there's five players in each teams?
or can I do it any other way.
__________________