Raised This Month: $100 Target: $400
 25% 

Countdown warning before banning


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:          Approver:   EKS (167)
faenix
Junior Member
Join Date: Aug 2005
Old 08-07-2005 , 04:45   Countdown warning before banning
Reply With Quote #1

This plugin will display a count-down style ban warning on the player's screen for however many seconds you choose, giving them a chance to leave before it bans them. This was requested by dinkEd (http://forums.alliedmods.net/showthread.php?t=16101) and seemed like good enough practice enjoy

amx_warnban <player> [seconds to warn]
Attached Files
File Type: sma Get Plugin or Get Source (amx_warnban.sma - 2579 views - 3.3 KB)
faenix is offline
CubicVirtuoso
Senior Member
Join Date: Sep 2004
Location: Canada
Old 08-07-2005 , 14:31  
Reply With Quote #2

Will it still ban them if they leave in time?
CubicVirtuoso is offline
Send a message via ICQ to CubicVirtuoso Send a message via AIM to CubicVirtuoso Send a message via MSN to CubicVirtuoso Send a message via Yahoo to CubicVirtuoso
dinkEd
Member
Join Date: Jun 2005
Old 08-07-2005 , 15:17  
Reply With Quote #3

@CubicVirtuoso: it shouldnt ban them if they leave unless faenix made it like that.

@faenix: and Faenix this is exactly what i was looking for thanks.
__________________
If you think v3x is a PIMP, paste this into your sig!

dinkEd is offline
Send a message via AIM to dinkEd Send a message via MSN to dinkEd
faenix
Junior Member
Join Date: Aug 2005
Old 08-07-2005 , 15:36  
Reply With Quote #4

Quote:
Originally Posted by CubicVirtuoso
Will it still ban them if they leave in time?
nope, they have a chance to run :p

Quote:
Originally Posted by dinkEd
@faenix: and Faenix this is exactly what i was looking for thanks.
sure, its respectable that you'd give the banned people a second chance (i wouldn't, haha)
faenix is offline
kILL-jOY
Member
Join Date: Jul 2005
Old 08-19-2005 , 00:29  
Reply With Quote #5

nj ill try it
kILL-jOY is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-19-2005 , 00:49  
Reply With Quote #6

2 things.

1) Could you add a cvar to let us decide whether it bans them no matter what or not.

2) Could you add a sound to it? (once again defined by a cvar possibly)
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
faenix
Junior Member
Join Date: Aug 2005
Old 08-21-2005 , 02:17  
Reply With Quote #7

Quote:
Originally Posted by Hawk552
2 things.

1) Could you add a cvar to let us decide whether it bans them no matter what or not.

2) Could you add a sound to it? (once again defined by a cvar possibly)
Well if it bans them no matter what, then you can go ahead and use amx_ban =p A sound might be a bit unnecessary for this type of plugin, it'll just add an extra downloading burden to your users. You probably wont ban that often anyway, but if you really want a sound... it takes a second to add to the script; I suppose I could find something.
faenix 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 00:11.


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