Raised This Month: $ Target: $400
 0% 

[REQ][UMC3]Exclude spectators from rtv percentage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Viciousway
New Member
Join Date: Dec 2015
Old 12-12-2015 , 06:25   [REQ][UMC3]Exclude spectators from rtv percentage
Reply With Quote #1

So iīm part of a server(CSS Zombie Mod) that when thereīs a lot of spectators on, we canīt RTV becaue of the percentage of players. Itīs there any way to exclude spectators from it?
Sorry for bad english or any problems that i may cause.

Last edited by Viciousway; 12-12-2015 at 06:26.
Viciousway is offline
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 12-12-2015 , 07:41   Re: [REQ][UMC3]Exclude spectators from rtv percentage
Reply With Quote #2

It should not be hard to do.i can take a look at it when i get home.
__________________
I highly recommend joining the SourceMod Discord Server for real time support.
backwards is offline
Viciousway
New Member
Join Date: Dec 2015
Old 12-12-2015 , 14:56   Re: [REQ][UMC3]Exclude spectators from rtv percentage
Reply With Quote #3

That would means a lot, thanks <3
Viciousway is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 12-12-2015 , 15:34   Re: [REQ][UMC3]Exclude spectators from rtv percentage
Reply With Quote #4

I would also be interested in something like this!
__________________
sneaK is offline
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 12-12-2015 , 19:12   Re: [REQ][UMC3]Exclude spectators from rtv percentage
Reply With Quote #5

Try this, modfiying umc_utils.inc lines 816 to include GetClientTeam.

Code:
if ((inGameOnly ? IsClientInGame(i) : IsClientConnected(i)) && !IsFakeClient(i) && GetClientTeam(i) > 1)
Attached Files
File Type: smx umc-rockthevote.smx (21.3 KB, 140 views)
__________________
I highly recommend joining the SourceMod Discord Server for real time support.
backwards 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 03:27.


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