Closed lunatixxx closed 2 years ago
Should be possible. You can check this function, and here are some defines of the values.
Perhaps just need to add a check parallel to the revive check in pause plugin:
L4D2_GetPlayerUseAction(client) == L4D2UseAction_Healing
See if this can help.
Any news did you try it?
No as it is not planned and not gonna be a topic in competitive rework, but the method introduced above believed to work as expected.
Well the version here is not even up to date with the one in competitive rework. Gonna take some time but guess what I'm so lazy.
If you're willing to make it into use, it's easy to compile a modified one yourself, by:
https://github.com/SirPlease/L4D2-Competitive-Rework/blob/53f79e892d5fdbf70564b2cbf199efb6d4e8b889/addons/sourcemod/scripting/pause.sp#L936
place || L4D2_GetPlayerUseAction(client) == L4D2UseAction_Healing
after the "0".
Is it possible to delay a pause if a survivor is using a medkit ? The same way that reviving.