Raised This Month: $18 Target: $400
 4% 

Donít save spectatorís played time


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 12-01-2019 , 14:06   Donít save spectatorís played time
Reply With Quote #1

Hello. I want that spectators do not receive minutes (played time) and would be printed "You are spectator!" when they try to check they played time by /pt. I need this to prevent cheaters. Can anyone help me?

Sorry, can't upload .sma file due to this "Sorry, you have been blocked
You are unable to access alliedmods.net"
played_time.sma

Last edited by LithuanianJack; 12-01-2019 at 14:07.
LithuanianJack is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 12-01-2019 , 15:52   Re: Donít save spectatorís played time
Reply With Quote #2

Paste the source in a post, I can't figure out how to download files from those sketchy sites.
__________________
Bugsy is offline
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 12-02-2019 , 00:17   Re: Donít save spectatorís played time
Reply With Quote #3

Quote:
Originally Posted by Bugsy View Post
Paste the source in a post, I can't figure out how to download files from those sketchy sites.
I don't know why but site blocks me when I try to paste source or upload that plugin.

Here is that source https://pastebin.com/PxnJBy3u

Or the original source https://forums.alliedmods.net/showthread.php?t=201869
(played_time_extended.sma - 1393 views - 25.9 KB)
LithuanianJack is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 12-02-2019 , 09:07   Re: Donít save spectatorís played time
Reply With Quote #4

This should work
https://pastebin.com/Ub0C21MT
__________________

Last edited by Shadows Adi; 12-02-2019 at 09:09. Reason: I can't paste code here because it shows me 'You have been blocked'
Shadows Adi is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 12-02-2019 , 11:53   Re: Donít save spectatorís played time
Reply With Quote #5

This will take a bit of re-working. You will need to monitor team changes and make it exclude the time on the server when they were a spectator. Maybe post in the plugin thread as a suggested option/cvar to control spectator time? Or you may get lucky and someone will do it for you here.
__________________
Bugsy is offline
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 12-06-2019 , 08:04   Re: Donít save spectatorís played time
Reply With Quote #6

Quote:
Originally Posted by Shadows Adi View Post
Seems that nothing changes
LithuanianJack is offline
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 12-17-2019 , 13:55   Re: Donít save spectatorís played time
Reply With Quote #7

Quote:
Originally Posted by Shadows Adi View Post
What could be wrong? Not working :/
LithuanianJack is offline
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 12-28-2019 , 14:21   Re: Donít save spectatorís played time
Reply With Quote #8

I can pay for this job. It is very important for me.
LithuanianJack is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 12-28-2019 , 14:50   Re: Donít save spectatorís played time
Reply With Quote #9

I can do this
__________________
Bugsy is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 12-28-2019 , 19:42   Re: Donít save spectatorís played time
Reply With Quote #10

Should spectators keep their time if they switched from a team to spectator?

Can this limited to cstrike teams?
__________________
Bugsy is offline
Reply


Thread Tools
Display Modes

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 14:39.


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