Added zr_infect/zr_human, all conflicts from official version are fixed. Added feature to ZSpawn to allow to spawn to different team after timelimit is expired.

This commit is contained in:
Greyscale
2009-06-15 12:43:06 -07:00
parent ec61c654cb
commit 1530d20308
9 changed files with 374 additions and 56 deletions

View File

@@ -35,6 +35,7 @@ CommandsInit()
LogOnCommandsCreate();
ClassOnCommandsCreate();
WeaponsOnCommandsCreate();
InfectOnCommandsCreate();
VolOnCommandsCreate();
// Forward event to modules. (hook commands)
@@ -97,7 +98,7 @@ CommandsInit()
for (new x = 0; x < tcount; x++)
{
InfectClient(targets[x]);
InfectHumanToZombie(targets[x]);
if (LogCheckFlag(LOG_GAME_EVENTS, LOG_MODULE_COMMANDS))
{
GetClientName(targets[x], target_name, sizeof(target_name));