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

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 , 08: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 - 10733 views - 6.0 KB)
__________________

Last edited by xPaw; 06-01-2012 at 12:47.
xPaw is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 09-05-2009 , 08: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
__________________
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 , 08: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, 08:43
xPaw
This message has been deleted by xPaw.
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 09-05-2009 , 09: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 09:31.
crazyeffect is offline
Send a message via MSN to crazyeffect
Kryzu
Senior Member
Join Date: Feb 2009
Old 09-05-2009 , 09: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 , 11: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 , 11: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 , 20: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 , 20:46   Re: surf_ski_2: Rules Watcher by xPaw
Reply With Quote #9

wasn't this made :O
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 09-05-2009 , 21: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, 21:51
01010101
This message has been deleted by Roach.
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 11:05.


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