Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBasePlayer.m_flRespawnDelaytime cannot be set at the right time #50

Open
MrOats opened this issue Apr 8, 2017 · 1 comment
Open

CBasePlayer.m_flRespawnDelaytime cannot be set at the right time #50

MrOats opened this issue Apr 8, 2017 · 1 comment

Comments

@MrOats
Copy link

MrOats commented Apr 8, 2017

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

@SamVanheer
Copy link

If i recall correctly, the game will clamp respawn delays at some point. That's probably having an effect here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants