AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Custom HLTV demo name (https://forums.alliedmods.net/showthread.php?t=49787)

JanisB 01-12-2007 23:00

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_command15"stoprecording")
hltv_cmd(hltv_command)
format(hltv_command49"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?


All times are GMT -4. The time now is 22:19.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.