AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Top 10 Player HlstatsCE Announcer (https://forums.alliedmods.net/showthread.php?t=139703)

jockersoft 10-09-2010 13:14

Re: Top 10 Player HlstatsCE Announcer
 
difficult to say without looking at the updated source :)
but try with IsClientInGame instead of IsClientConnected

snelvuur 10-09-2010 14:34

Re: Top 10 Player HlstatsCE Announcer
 
I've set the "isclientingame" in it, and adjusted the strlen compare correct (was a issue) also still had 1 debug line still turned on, which is removed.

D_ONE 10-09-2010 22:34

Re: Top 10 Player HlstatsCE Announcer
 
Very nice script :). Works great here, I might be being dense but is there a way to completely disable the sound file (Its not in the style of our server) as when I edit it out it still try's to download an empty path on the server. Could I suggest a cvar to make it simpler. I'll be running it with minimal noise (just chatbox text announcement) when I can figure the sound thing out. :)

snelvuur 10-10-2010 07:34

Re: Top 10 Player HlstatsCE Announcer
 
Well i tried my self, but even if i do a strcmp matching "none" it will just fail one or the other, i need a correct example or something..

bouncer 10-10-2010 14:04

Re: Top 10 Player HlstatsCE Announcer
 
could this be made to work with gameME?

snelvuur 10-10-2010 14:11

Re: Top 10 Player HlstatsCE Announcer
 
If you know the sql query to get the rank, it basicly could.. assuming you have also database access.

jockersoft 10-10-2010 15:42

Re: Top 10 Player HlstatsCE Announcer
 
1 Attachment(s)
Quote:

Originally Posted by snelvuur (Post 1321038)
Well i tried my self, but even if i do a strcmp matching "none" it will just fail one or the other, i need a correct example or something..

try with this

snelvuur 10-10-2010 18:20

Re: Top 10 Player HlstatsCE Announcer
 
Same issue, tried that too. Still loads the mp3, even though i set it to "" for the sm_top10_sound.

honorcode23 10-10-2010 18:23

Re: Top 10 Player HlstatsCE Announcer
 
Quote:

Originally Posted by snelvuur (Post 1321581)
Same issue, tried that too. Still loads the mp3, even though i set it to "" for the sm_top10_sound.

Code:

if(!StrEqual(soundFileName, "none"))
{
          Precache();
}

What about that?

snelvuur 10-12-2010 17:56

Re: Top 10 Player HlstatsCE Announcer
 
I tried it with equal "" (as in i put sm_top10_sound "") but for some apparent reason it still downloads the mp3...


All times are GMT -4. The time now is 04:32.

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