HLDJ hsay command?
Forum rules
Read this before posting in this section
Read this before posting in this section
-
- Game DJ
- Posts: 2
- Joined: Sat Oct 01, 2011 10:24 pm
HLDJ hsay command?
Hi, I am an admin on a server and use hldj all of the time. I was wondering if there was a way to have the file name appear in the command /hsay (sm_hsay) so the song name will appear in a hint box, similar to hldjsca. I think it would be awesome if it is possible. Thanks for you responses in advance.
Re: HLDJ hsay command?
if it takes a string as parameter and you know some C, you can just modify hldj_WriteCurAudioConfigs in hldj_api.c: where you see the "say " command printed, just copy-paste that line one below to add your own say.
Code: Select all
fprintf( config, "<your command here> %s", curAudio );
-
- Game DJ
- Posts: 2
- Joined: Sat Oct 01, 2011 10:24 pm
Re: HLDJ hsay command?
Thanks for the response, but I don't know C at all. I guess I could find out the rest of the steps on my own.
Thanks again.
