Re: [L4D2] HUD Server Logo
You could try reading this part on the docs:
https://developer.valvesoftware.com/.../Appendix:_HUD PHP Code:
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. |
Re: [L4D2] HUD Server Logo
Quote:
I was actually thinking about using your addon instead since there's nothing that interferes with the .nut gamemode files on my server. How would one go about tracking restarts through this plugin and SM though? I'm clueless either way. :| UPD: Thanks to Marttt for the replies and pointers. I'm afraid I'm absolutely clueless about scripting, so I'll try to post this in plugin requests. |
Re: [L4D2] HUD Server Logo
There are several ways, if is a coop game you can get the number of rounds with this
PHP Code:
Probably is possible to get it through vscript aswell but I don't have the knowledge. This kind of question is kinda unrelated to the OP topic so maybe its better to ask in the scripting area. |
Re: [L4D2] HUD Server Logo
any example for get hostname and add to hud line?
there is Convars.GetStr("hostname") but idk |
Re: [L4D2] HUD Server Logo
Probably something like this:
local hostname = Convars.GetStr("hostname"); and use it inside the hud |
Re: [L4D2] HUD Server Logo
Quote:
Code:
local hostname = Convars.GetStr("hostname");Code:
local hostname = Convars.GetStr("hostname"); |
| All times are GMT -4. The time now is 23:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.