New features and fixes in volfeatures. See details.

Fixed existing volumes not removed after a map change.
Added class editor feature that can modify certain class attributes on players in a volume.
Fixed typo in class attribute name.
Fixed health regeneration timer not stopping if a player were kicked or timed out.
This commit is contained in:
richard
2009-09-27 23:45:17 +02:00
parent 2830eb4c7d
commit 9906376f28
8 changed files with 1734 additions and 38 deletions

View File

@ -60,8 +60,8 @@ ClassHealthRegenStop(client)
public Action:ClassHealthRegenTimer(Handle:timer, any:client)
{
// Kill the timer if the player is dead.
if (!IsPlayerAlive(client))
// Kill the timer if the player is dead or not in game.
if (!IsClientConnected(client) || !IsClientInGame(client) || !IsPlayerAlive(client))
{
tHealthRegen[client] = INVALID_HANDLE;
return Plugin_Stop;