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

[REQ][HL2DM]Delay Spectate


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
doze
Senior Member
Join Date: Mar 2012
Old 04-26-2012 , 20:14   [REQ][HL2DM]Delay Spectate
Reply With Quote #1

Hey, i have been looking for a plugin that will delay spectating but wasn't able to find one so i figured might as well post here maybe someone can create one i don't think its something complicated for a developer.

What i would like this plugin to do is delay the time it takes for someone to go into spectate by X amount of seconds, a exclude feature would be nice also , exclude player ENTER-NAME to be affected by the delay, this would be useful for SourceTv or HLTV bots.

This plugin would be very useful to prevent players from exiting combat by entering spectate , i don't want to disable spectate completely , just delay it.

Would be really nice if someone could make a plugin like this ! or maybe there is one already and i don't know about it ???
doze is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-27-2012 , 05:39   Re: [REQ][HL2DM]Delay Spectate
Reply With Quote #2

similiar topic [HL2DM] Spectate delay
But I have forget add one more command "spectate".

Seems SourceTV bot is using spectate cmd when connected


Here:
- Plugin listen cmds jointeam and spectate
- Delay human players who are alive to join team spectators.
- Admins are immunity who have access to "sm_spec_delay" or adminflag "b" (generic)
cvar
Code:
sm_movespec_delay "5.0"
// Delay player to move spectators when alive in seconds
// min. 0.0 - max. 10.0
// When less than 1.0 = plugin disabled
// When 2.0 or greater = will show chat announce
*edit
Quote:
Originally Posted by doze View Post
... a exclude feature would be nice also , exclude player ENTER-NAME to be affected by the delay, this would be useful for SourceTv or HLTV bots.
This part I'm not quite understand... why by names ?
Attached Files
File Type: sp Get Plugin or Get Source (spectate_delay.sp - 270 views - 2.2 KB)

Last edited by Bacardi; 04-27-2012 at 09:37. Reason: typo
Bacardi is offline
doze
Senior Member
Join Date: Mar 2012
Old 04-27-2012 , 22:13   Re: [REQ][HL2DM]Delay Spectate
Reply With Quote #3

Works great man , many thanks !
doze 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 09:18.


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