Raised This Month: $32 Target: $400
 8% 

Readyroom Blocker


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Natural Selection        Category:   Server Management        Approver:   devicenull (200)
Seraph
Junior Member
Join Date: Mar 2004
Old 08-11-2004 , 00:21   Readyroom Blocker
Reply With Quote #1

This is a plugin to block people from going into the readyroom, except under certain circumstances:
  • - An admin (with kick access) forces a player to go to the alien team, the marine team, or into the readyroom
    - You are already in the readyroom, or are spectating
    - The opposing team is 2 or more players down
  • i.e. You're on the marine team with 10 people, and the aliens have only 8. It will let one person go into
    the readyroom from the marine team (it won't let anymore marines go into the readyroom)
Thanks to Zoc, cgountanis, mahnsawce, and devicenull for helping me with this plugin

To change a players team:
amx_alien <authid, nick or #userid>
amx_marine <authid, nick or #userid>

To force a player into the readyroom:
amx_rr <authid, nick or #userid>
amx_readyroom <authid, nick or #userid>
amx_f4 <authid, nick or #userid>

Requires NS2AMX

Questions or comments appreciated !

Note: the 'Get Plugin' part will not work because the online compiler doesn't have NS2AMX on it.
Attached Files
File Type: sma Get Plugin or Get Source (rrblock.sma - 2044 views - 3.9 KB)
__________________
VPhoenix.net CO / NS Server
n s 1 . v p h o e n i x . n e t
Seraph is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 10-09-2004 , 03:03  
Reply With Quote #2

Can this be updated to use with .20 and also to not need NS2AMX? If so can the force teams/readyroom commands be taken out since the .20 NS addon comes with nscommands... nice plugin, I needed something like this...
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
Seraph
Junior Member
Join Date: Mar 2004
Old 10-11-2004 , 19:10  
Reply With Quote #3

I havn't tested this but it should work

Note: This requires the "engine" and "fakemeta" modules
Attached Files
File Type: sma Get Plugin or Get Source (rrblock.sma - 1942 views - 1.4 KB)
__________________
VPhoenix.net CO / NS Server
n s 1 . v p h o e n i x . n e t
Seraph 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 09:38.


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