Raised This Month: $51 Target: $400
 12% 

Top 10 Player HlstatsCE Announcer


Post New Thread Reply   
 
Thread Tools Display Modes
jockersoft
Member
Join Date: Aug 2008
Old 10-09-2010 , 13:14   Re: Top 10 Player HlstatsCE Announcer
Reply With Quote #11

difficult to say without looking at the updated source
but try with IsClientInGame instead of IsClientConnected
jockersoft is offline
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 10-09-2010 , 14:34   Re: Top 10 Player HlstatsCE Announcer
Reply With Quote #12

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.
__________________
Arguing with a fool only proves there are two

Last edited by snelvuur; 10-09-2010 at 18:32.
snelvuur is offline
D_ONE
Member
Join Date: Oct 2010
Old 10-09-2010 , 22:34   Re: Top 10 Player HlstatsCE Announcer
Reply With Quote #13

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.
D_ONE is offline
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 10-10-2010 , 07:34   Re: Top 10 Player HlstatsCE Announcer
Reply With Quote #14

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..
__________________
Arguing with a fool only proves there are two
snelvuur is offline
bouncer
Veteran Member
Join Date: Apr 2009
Old 10-10-2010 , 14:04   Re: Top 10 Player HlstatsCE Announcer
Reply With Quote #15

could this be made to work with gameME?
__________________


bouncer is offline
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 10-10-2010 , 14:11   Re: Top 10 Player HlstatsCE Announcer
Reply With Quote #16

If you know the sql query to get the rank, it basicly could.. assuming you have also database access.
__________________
Arguing with a fool only proves there are two
snelvuur is offline
jockersoft
Member
Join Date: Aug 2008
Old 10-10-2010 , 15:42   Re: Top 10 Player HlstatsCE Announcer
Reply With Quote #17

Quote:
Originally Posted by snelvuur View Post
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
Attached Files
File Type: sp Get Plugin or Get Source (top10hlxce-announce.sp - 406 views - 4.8 KB)
jockersoft is offline
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 10-10-2010 , 18:20   Re: Top 10 Player HlstatsCE Announcer
Reply With Quote #18

Same issue, tried that too. Still loads the mp3, even though i set it to "" for the sm_top10_sound.
__________________
Arguing with a fool only proves there are two
snelvuur is offline
honorcode23
BANNED
Join Date: Mar 2010
Location: Chile
Old 10-10-2010 , 18:23   Re: Top 10 Player HlstatsCE Announcer
Reply With Quote #19

Quote:
Originally Posted by snelvuur View Post
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?
honorcode23 is offline
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 10-12-2010 , 17:56   Re: Top 10 Player HlstatsCE Announcer
Reply With Quote #20

I tried it with equal "" (as in i put sm_top10_sound "") but for some apparent reason it still downloads the mp3...
__________________
Arguing with a fool only proves there are two
snelvuur is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:29.


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