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:
1 parent
5b172aa93f
commit
ecc9cf5167
16 files changed
+242
-166
No files matched your search
@@ -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