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

surf_ski_2: Rules Watcher v1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands        Approver:   Hawk552 (427)
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 09-05-2009 , 09:39   surf_ski_2: Rules Watcher v1.1
Reply With Quote #1

surf_ski_2
Rules Watcher

By xPaw

.: Description :.
For start i want to say what there is same plugin in here, but.. after playing with it, i noticed what it detects origins totally wrong, also uses more cpu, because of set_task with 0.1 delay, this plugin creates triggers and hooks touch of it...

So basicly this plugin can:
  • Throw player out of mario room / gun room / jail after defined time. (by cvar)
  • It can stop killing players in mario room / gun room / jail. (by cvar)
  • Prints helpful messages to players.
.: Cvars :.
Replace XXX by jail, gunroom or marioroom. for example rw_ss2_marioroom_nokill

rw_ss2_XXX_nokill 0/1 - is player immortal in XXX room?

Defaults:
  • Jail - 0
  • Gun room - 1
  • Mario room - 1

rw_ss2_XXX_time secs - amout of time that player can be in XXX room. Put 0 to disable this feature.

Defaults:
  • Jail - 1 (if you have "no jail" plugin, put 0 for safety)
  • Gun room - 15
  • Mario room - 30
.: Changelog :.
  • Version 1.1
    • Fixed able to kill in mario room

.: Credits :.
  • Nikarus - Original plugin.
See servers running this plugin
Attached Files
File Type: sma Get Plugin or Get Source (surf_ski_2_ruleswatcher.sma - 9789 views - 6.0 KB)
__________________

Last edited by xPaw; 06-01-2012 at 13:47.
xPaw is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 09-05-2009 , 09:42   Re: surf_ski_2: Rules Watcher by xPaw
Reply With Quote #2

Quote:
Originally Posted by gman
nicely done mr freeman, i will see you up ahead
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
master4life
Senior Member
Join Date: Mar 2006
Location: Germany
Old 09-05-2009 , 09:42   Re: surf_ski_2: Rules Watcher by xPaw
Reply With Quote #3

Yeah Cool Plugin

Good Job xPaw

PS: dont hate me
master4life is offline
Send a message via ICQ to master4life Send a message via MSN to master4life Send a message via Skype™ to master4life
Old 09-05-2009, 09:43
xPaw
This message has been deleted by xPaw.
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 09-05-2009 , 10:29   Re: surf_ski_2: Rules Watcher by xPaw
Reply With Quote #4

Cool, but

Multilangual

And isn't is 'You stood' instead of 'You stayed'
__________________

Last edited by crazyeffect; 09-05-2009 at 10:31.
crazyeffect is offline
Send a message via MSN to crazyeffect
Kryzu
Senior Member
Join Date: Feb 2009
Old 09-05-2009 , 10:36   Re: surf_ski_2: Rules Watcher by xPaw
Reply With Quote #5

Tested, works great. No bugs like in other rules watcher. Maybe the TIME warning message isnt the best(HUD, no updating), but it's v1.0, what to want
__________________
Kryzu is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 09-05-2009 , 12:20   Re: surf_ski_2: Rules Watcher by xPaw
Reply With Quote #6

ML men strikes again
KadiR is offline
zacky
Senior Member
Join Date: Mar 2008
Location: Sweden
Old 09-05-2009 , 12:42   Re: surf_ski_2: Rules Watcher by xPaw
Reply With Quote #7

xPaw Strikes in again with a new plugin!

Anyways, good job.
zacky is offline
Send a message via Skype™ to zacky
orange
Senior Member
Join Date: Dec 2005
Old 09-05-2009 , 21:39   Re: surf_ski_2: Rules Watcher by xPaw
Reply With Quote #8

nice idea makes me wanna make a surf ski2 server havent had one in a while good stuff
__________________
orange is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 09-05-2009 , 21:46   Re: surf_ski_2: Rules Watcher by xPaw
Reply With Quote #9

wasn't this made :O
__________________

Home of the AMX SUPER
Discord
DruGzOG is offline
Send a message via AIM to DruGzOG
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 09-05-2009 , 22:19   Re: surf_ski_2: Rules Watcher by xPaw
Reply With Quote #10

Hey, nice plugin. On a rapid view into the code, I'd say that I'd use

Code:
if( containi( szMap, "surf_ski_2" ) != -1 )
Instead of
Code:
if( equali( szMap, "surf_ski_2" ) )
With this you are checking the name of the map without checking if it contains uppercases. You can forget this of course, but I think it's annoying for those admins who change the map like:
amx_map SurF_SkI_2
__________________
"There is no knowledge, that is not power"
fezh is offline
Old 09-05-2009, 22:51
01010101
This message has been deleted by Roach.
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 17:49.


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