Raised This Month: $ Target: $400
 0% 

Admin Fast Respawn - Version 1.0 [8/30/09]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 08-30-2009 , 01:11   Admin Fast Respawn - Version 1.0 [8/30/09]
Reply With Quote #1

Admin Fast Respawn v1.0
BOYSplayCS

Description:

Whenever an admin dies that has the access flag ADMIN_KICK, they are automatically re-spawned on their previous team with that teams' default weapons, ammo and knife.


Controllable Variables:
  • amx_adminrespawn (Default: 1)
    • 0: Disables Admin Fast Respawn.
    • 1: Enables Admin Fast Respawn.
  • adminrespawn_prefix (Default: Admin Fast Respawn)
    • Set this to whatever you want the prefix to be for chat messages.

Requirements:

- AMX Mod X (version 1.8.1 or higher)
- Fun Module


Changelog:
  • Version 1.0
    • Initial Release.

Upcoming Features:

- Multilingual System
- Add cvar to set health for respawn


Project Notes:

Tested on Counter-Strike 1.6 - Fully Working - No Bugs
Attached Files
File Type: sma Get Plugin or Get Source (admin_fast_respawn.sma - 1316 views - 2.1 KB)

Last edited by BOYSplayCS; 08-30-2009 at 01:14. Reason: Added Category
BOYSplayCS is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 08-30-2009 , 03:20   Re: Admin Fast Respawn - Version 1.0 [8/30/09]
Reply With Quote #2

PHP Code:
    if (!get_pcvar_num(cvarToggle))
    return 
PLUGIN_CONTINUE;
    
    if ((
Killer == Victim) || !(get_user_flags(Victim) & defineFlag))
    return 
PLUGIN_CONTINUE
Maybe...

PHP Code:
    if ((Killer == Victim) || !(get_user_flags(Victim) & defineFlag) || !get_pcvar_num(cvarToggle) )
    return 
PLUGIN_CONTINUE
And also... Ins't Hamsandwich the best method to respawn a player?
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-30-2009 , 03:44   Re: Admin Fast Respawn - Version 1.0 [8/30/09]
Reply With Quote #3

Useless.There are also other plugin that do the same thing but not to admin only, that will be a disadvantage anyway.
Unapproved
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Jon
Veteran Member
Join Date: Dec 2007
Old 08-30-2009 , 05:49   Re: Admin Fast Respawn - Version 1.0 [8/30/09]
Reply With Quote #4

Quote:
Originally Posted by Alka View Post
Useless.There are also other plugin that do the same thing but not to admin only, that will be a disadvantage anyway.
Unapproved
I think you are far too quick with unapproving giving no room for suggestions and improvements.
Jon is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-30-2009 , 08:05   Re: Admin Fast Respawn - Version 1.0 [8/30/09]
Reply With Quote #5

If you tell me the point in this plugin i'll move this to "New Plugins". It's like a CSDM only for admins lol.

Also you can use Ham for proper respawn in CS, for other mod you can try fakemeta.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 08-30-2009 , 11:54   Re: Admin Fast Respawn - Version 1.0 [8/30/09]
Reply With Quote #6

Harsh o.O
BOYSplayCS is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-30-2009 , 12:31   Re: Admin Fast Respawn - Version 1.0 [8/30/09]
Reply With Quote #7

ExecuteHamB( Ham_CS_RoundRespawn, id );
__________________
xPaw is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 08-31-2009 , 18:10   Re: Admin Fast Respawn - Version 1.0 [8/30/09]
Reply With Quote #8

Quote:
Originally Posted by Alka View Post
Useless.There are also other plugin that do the same thing but not to admin only, that will be a disadvantage anyway.
Unapproved
This is an opinion, and is not entirely correct. Plugins are submitted as a choice to use, or not to use. You are stating that this is useless and a disadvantage. Useless, no. Disadvantage, maybe. Let the server owners decide whether to download/use this plugin, not yourself. Maybe a server owner would like their admins to have a little bit more fun, and spice.
BOYSplayCS is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 09-01-2009 , 03:02   Re: Admin Fast Respawn - Version 1.0 [8/30/09]
Reply With Quote #9

Quote:
Originally Posted by BOYSplayCS View Post
This is an opinion, and is not entirely correct. Plugins are submitted as a choice to use, or not to use. You are stating that this is useless and a disadvantage. Useless, no. Disadvantage, maybe. Let the server owners decide whether to download/use this plugin, not yourself. Maybe a server owner would like their admins to have a little bit more fun, and spice.
In someway you are right, but this forum has rules when it comes to plugin posting.

Quote:
Rules:
[All Plugins]
  • Do not post plugins that already exist or have been written already.
  • If you did not write the plugin, put the name of the author in the topic and in the post.
  • If the original author requests that it be put under their control or removed, their request will be honored.
  • Make the source code available.
  • Do not post destructive or offensive plugins.
  • Only post plugins you have written.
  • Do not put "Plugin:" in the title. It is added upon approval.
  • Do not hardcode paths. Use get_basedir(...) instead.
  • Use log_amx instead of log_to_file
  • English is a must. If you want to use another language, you can post another version of it or use ML. But, your description and plugin must be English. You can include you description in the other language, but having the description in English is a must
  • Use pcvars. They are much faster than the old way of setting/getting cvar values.
  • For packages, use only zip, [tar.]gz, [tar.]bz2. Plugins using other compression formats should not be approved, this includes RAR and 7z.
This plugin offers the administrators advantages. This I think that it is a good reason to unapprove.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 09-01-2009 , 08:32   Re: Admin Fast Respawn - Version 1.0 [8/30/09]
Reply With Quote #10

Quote:
Originally Posted by ot_207 View Post
This plugin offers the administrators advantages. This I think that it is a good reason to unapprove.
So does, Shoop Da Woop Slay and AMXX Gag.
BOYSplayCS 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 04:35.


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