Page 1 of 1
HLDJ hsay command?
Posted: Sat Oct 01, 2011 10:28 pm
by monkey_monopoly
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?
Posted: Mon Oct 03, 2011 10:29 pm
by Renegade
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 );
Re: HLDJ hsay command?
Posted: Wed Oct 05, 2011 11:50 pm
by monkey_monopoly
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.