Custom HLTV demo name
Hello, i want to write demo using HLTV. So, i am using
PHP Code:
new hltv_command[50]
new time_date[32]
get_time("%Y.%m.%d-%H.%M.%S",time_date,31)
format(hltv_command, 15, "stoprecording")
hltv_cmd(hltv_command)
format(hltv_command, 49, "record mydemo_HLTV_%s.dem", time_date)
hltv_cmd(hltv_command)
But instead of "mydemo_HLTV_2007.01.13-04.59.13.dem", i am getting "mydemo_HLTV_2007.01.13-04.59.13.dem-0701130459-de_dust.dem". Many CW plugins are using same code to write match demos, and they have `normal` demo names. What's wrong?
|