Open MrOats opened 7 years ago
When attempting to set m_flRespawnDelayTime at hook's PlayerKilled or PlayerSpawned, the game does not change their respawn delay. From what it seems, you have to set it the moment the on-display timer starts counting.
Test code: https://github.com/MrOats/AngelScript_SC_Plugins/blob/master/AdjustSpawntime.as
If i recall correctly, the game will clamp respawn delays at some point. That's probably having an effect here.
When attempting to set m_flRespawnDelayTime at hook's PlayerKilled or PlayerSpawned, the game does not change their respawn delay. From what it seems, you have to set it the moment the on-display timer starts counting.
Test code: https://github.com/MrOats/AngelScript_SC_Plugins/blob/master/AdjustSpawntime.as