You could try reading this part on the docs:
https://developer.valvesoftware.com/.../Appendix:_HUD
PHP Code:
supply = { slot = HUD_RIGHT_TOP, staticstring = "Supplies: ", datafunc = @() g_MapScript.Resources.CurrentCount, name = "supply" }
But I don't know how to track the "restart" count in VScript.
Is possible to use my
[L4D2] Scripted HUD plugin to achieve that through SM.
Although it has some limitations, I know that on SM1.11 they are adding more support to some stuff that EMS script needs so probably in some months that could be improved.
__________________