Make sure you self endon("disconnect") or there will be a lot of threads running after a client disconnects.
Make sure you self endon("disconnect") or there will be a lot of threads running after a client disconnects.
https://killtube.org/showthread.php?2857-COD2-Random-string-hud&highlight=makeLocalizedString
edit:
This works
1533
init()
{
Based on the C code it should simply be: player iprintlnbold("its " + getlocaltime() + " on the server");
Im not a big fan of hacks to do something as simple as getting "date and time", so just do it properly: add the function to libcod if it doesn't exist yet
But a quick skip over vorons code shows...
Heres a small tutorial for you all.
It will allow you to settext() to any clienthudelem any string you desire.
Known bugs: does not work properly with killcam and .archived = true (so set...