Started working on volumetric features module.
Added some base functions for working with modules. It's not tested, but it compiles. CVARs are not created yet. Implemented volume events. Function VolUpdatePlayerChanges with help from VolGetPlayerStates detects if a player leave or enter a volume between main timer intervals. This solution is not final and might be expensive. Needs to be optimized later!
This commit is contained in:
@ -74,6 +74,7 @@ public Action:EventRoundStart(Handle:event, const String:name[], bool:dontBroadc
|
||||
SEffectsOnRoundStart();
|
||||
AntiStickOnRoundStart();
|
||||
ZSpawnOnRoundStart();
|
||||
VolOnRoundStart();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -113,6 +114,7 @@ public Action:EventRoundEnd(Handle:event, const String:name[], bool:dontBroadcas
|
||||
SEffectsOnRoundEnd();
|
||||
RespawnOnRoundEnd();
|
||||
ZSpawnOnRoundEnd();
|
||||
VolOnRoundEnd();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user