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

surf_ski_2 RULES WATCHER


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Nikarus
Junior Member
Join Date: Jan 2009
Old 01-23-2009 , 22:00   surf_ski_2 RULES WATCHER
Reply With Quote #1

descrition:
I'm so tired of those who breaking the rules on surf_ski_2 that I decided to create a plugin for blocking unfair players.

so, what can it do:
- it can make players immortal in marioroom&gunroom also in jail if you wish
- it can throw out player from a jail, marioroom&gunroom in defined time (in seconds)
- it displays hud message about time that player has to get out from marioroom&gunroom (in case if players will sit there all the time just because they immortal there)

cvars:
surf_ski_2_gunroom_god - 1/0 - player will be immortal in gunroom (default 1)
surf_ski_2_gunroom_time - time in sec - amout of time that player can be in gunroom (default 30)
surf_ski_2_marioroom_god - 1/0 - player will be immortal in marioroom (default 1)
surf_ski_2_marioroom_time - time in sec - amout of time that player can be in marioroom (default 30)
surf_ski_2_jail_god - 1/0 - player will be immortal in jail (default 0)
surf_ski_2_jail_time - time in sec - amout of time that player can be in jail (default 2)
surf_ski_2_show_messages - 1/0 - whether display or not hud status messages (default 1)

for all surf_ski_2_*_time cvars: 0 means turned off; -1 means to leave area as soon as possible.

Additional info:
This is still beta version but everything should work fine.

change-log:
1.0 beta
-first release
2.0 beta
-fixed a lot of bugs such as wrong room areas etc
-fixed conflicts with spawnprotection (but amx_godmode still doen't work. i will fix it in next version possibly)
-removed shooting blocking (i will add it in next version possibly)
-added thrown out of marioroom&gunroom in speciefed amount of time
-added automatic godmod option in gunroom and jail
-added hud messages, that displays current player status in marioroom&gunroom
Attached Files
File Type: sma Get Plugin or Get Source (surf_ski_2_rules.sma - 3660 views - 4.8 KB)

Last edited by Nikarus; 03-24-2009 at 09:11. Reason: new version released
Nikarus is offline
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 01-23-2009 , 22:24   Re: surf_ski_2 RULES WATCHER
Reply With Quote #2

bout time someone made this, ever since mario made the map nd we tested the surf_ski_2 beta in my server. ive wanted this.
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
Nikarus
Junior Member
Join Date: Jan 2009
Old 01-23-2009 , 22:30   Re: surf_ski_2 RULES WATCHER
Reply With Quote #3

I tried to find something like this in internet and found nothing, that's why I made it.
And I saw none of servers that have plugins like it.
And I VERY tired of players who breaking the rules ;)
Nikarus is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 01-24-2009 , 04:59   Re: surf_ski_2 RULES WATCHER
Reply With Quote #4

hmm pretty nice plugin ;)
__________________
xPaw is offline
Nikarus
Junior Member
Join Date: Jan 2009
Old 01-24-2009 , 06:13   Re: surf_ski_2 RULES WATCHER
Reply With Quote #5

thanks

if somebody tested it with more than one player, please tell me.
Nikarus is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 01-24-2009 , 06:17   Re: surf_ski_2 RULES WATCHER
Reply With Quote #6

So if amx_jailtime is 0 it you can camp as long as you want..
And what happends if you stay longer then 2 seconds in jail when amx_jailcamp is 2?

Also i think that the Hud message sucks
__________________

Last edited by crazyeffect; 01-24-2009 at 06:21.
crazyeffect is offline
Send a message via MSN to crazyeffect
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 01-24-2009 , 06:37   Re: surf_ski_2 RULES WATCHER
Reply With Quote #7

This is pretty sweet... Gj ;)
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
Nikarus
Junior Member
Join Date: Jan 2009
Old 01-24-2009 , 06:53   Re: surf_ski_2 RULES WATCHER
Reply With Quote #8

Quote:
So if amx_jailtime is 0 it you can camp as long as you want..
yeah right forgot to add it to description (added now)
Quote:
And what happends if you stay longer then 2 seconds in jail when amx_jailcamp is 2?
It just takes you out of a jail.
Nikarus is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 01-24-2009 , 10:34   Re: surf_ski_2 RULES WATCHER
Reply With Quote #9

I suggest that you add this:

PHP Code:
 {
  
register_forward(FM_CmdStart,"fwd_CmdStart")
  
amx_gunroom register_cvar("amx_gunroom","1")
  
amx_marioroom register_cvar("amx_marioroom","1")
  
amx_jailtime register_cvar("amx_jailtime","10")
  
set_task(0.1"check"0""0"b")
 
    
set_cvar_num("sv_airaccelerate"100);
      
set_cvar_num("sv_airmove"15);
          
set_cvar_num("sv_stepsize"350);
 } 
This puts the normal commands to surf...
Sv_stepsize is to get out of jail...

Also the HUD message doesnt work...
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 01-24-2009 , 11:20   Re: surf_ski_2 RULES WATCHER
Reply With Quote #10

PHP Code:
set_cvar_num("sv_stepsize"350); 
this is not normal surf settings
__________________
xPaw 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 07:56.


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