Removed player list functions, recoded mother zombie picking function, removed allow_player_team cvar as models are handled by class system now, prefixed generic plugin functions with ZR, added comments in zombiereloaded.inc, added new function to check if clients are on either or both teams.
This commit is contained in:
@ -56,7 +56,7 @@ ClassOnClientSpawn(client)
|
||||
|
||||
// If the first zombie spawned, and the player is on the terrorist team, then
|
||||
// find a random zombie class, otherwise find a human class.
|
||||
if (zombieSpawned && teamid == CS_TEAM_T)
|
||||
if (g_bZombieSpawned && teamid == CS_TEAM_T)
|
||||
{
|
||||
new classindex = ClassGetRandomClass(ZR_CLASS_TEAM_ZOMBIES);
|
||||
ClassSelected[client][ZR_CLASS_TEAM_ZOMBIES] = classindex;
|
||||
|
Reference in New Issue
Block a user