Quote:
Originally Posted by St00ne
Hi,
The plugin currently doesn't work on CS:S. The event teamplay_round_win must be replaced by something else for cs:s I think.
|
teamplay_round_win is for TF2, it not use
round_end like most source games.
*edit
You can replace HookEvent part
PHP Code:
........
decl String:folder[64];
GetGameFolderName(folder, sizeof(folder));
if (strcmp(folder, "tf") == 0)
{
HookEvent("teamplay_round_win", Event_RoundEnd);
}
else
{
if(!HookEventEx("round_end", Event_RoundEnd))
{
SetFailState("Unable to find event: round_end");
}
}
........