Fixed weapon not rendering correctly in rare cases and added a cvar to allow zombies to pick up weapons at the end of the round.

This commit is contained in:
Greyscale
2010-01-03 23:25:35 -08:00
parent 74ac9540cf
commit edf301da42
4 changed files with 65 additions and 0 deletions

View File

@ -214,6 +214,12 @@ RestrictOnClientSpawn(client)
*/
RestrictOnRoundEnd()
{
new bool:restrictzombieequip = GetConVarBool(g_hCvarsList[CVAR_WEAPONS_RESTRICT_ENDEQUIP]);
if (!restrictzombieequip)
{
return;
}
// x = Client index.
for (new x = 1; x <= MaxClients; x++)
{