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

Force Quit HL


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   BAILOPAN (72)
Tweek
Junior Member
Join Date: Mar 2004
Location: Hillsboro, Oregon
Old 03-27-2004 , 22:04   Force Quit HL
Reply With Quote #1

This Plugin forces a player to quit half-life or whatever
mod you are running. Its even better than kicking someone
because it exits back to windows! This'll teach those annoying
idiots who always cause trouble in your server.

This is based off of the Drop_weapon plugin so credit goes to
Gorillaz and WRG|IceMouse. I got the idea to make this when i saw
it on the admin mod web site and wished i could still use that
on my server. So thanks to Mustafa for the idea.

The included .amx is for AMX Mod X v0.16 so compile the .sma if
you run another version.

Note: This has been tested on v0.16 so its not my fault if
this doesnt work on other versions.

The Command for this is amx_forcequit [name of player]

[update]: v0.2 changes random stuff. and now the plugin is changed to be at the ADMIN_KICK access level.
Attached Files
File Type: sma Get Plugin or Get Source (amx_forcequit.sma - 6114 views - 1.4 KB)
__________________
I'm Goin' Down To South Park!
Check out My CS AMXX Server!:
24.20.34.48:27015
Tweek is offline
Send a message via AIM to Tweek
mICKE
Member
Join Date: Mar 2004
Location: Sthlm, Sweden
Old 03-28-2004 , 05:25  
Reply With Quote #2

You must change your include to amxmodx or this plugin will not be approved.

You can check my script who does the exakt same thing what this does.
Attached Files
File Type: sma Get Plugin or Get Source (quit.sma - 2977 views - 1.2 KB)
mICKE is offline
Send a message via ICQ to mICKE
Tweek
Junior Member
Join Date: Mar 2004
Location: Hillsboro, Oregon
Old 03-28-2004 , 12:30  
Reply With Quote #3

OOOPS.... Thanks. Sorry about that i Reposted a fixed version. So if you downloaded the old one you need to get this one instead.
__________________
I'm Goin' Down To South Park!
Check out My CS AMXX Server!:
24.20.34.48:27015
Tweek is offline
Send a message via AIM to Tweek
SniperBeamer
AMX Mod X Founder
Join Date: Jun 2003
Location: Good Old Europe
Old 03-28-2004 , 12:34  
Reply With Quote #4

select a category
__________________
SniperBeamer is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 03-29-2004 , 19:41  
Reply With Quote #5

i personaly think admin abuse.
EKS is offline
Tweek
Junior Member
Join Date: Mar 2004
Location: Hillsboro, Oregon
Old 03-30-2004 , 10:57  
Reply With Quote #6

I disagree i think some of the people that enter my server really diserve it. Seriously there are some idiots out there that think its funny to go into a server and go around TKing the hole team and throwing flashes around there own spawn.
__________________
I'm Goin' Down To South Park!
Check out My CS AMXX Server!:
24.20.34.48:27015
Tweek is offline
Send a message via AIM to Tweek
[nFb]GraveKeeper
Senior Member
Join Date: Mar 2004
Location: Connecticut, U.S.A.
Old 04-01-2004 , 17:05  
Reply With Quote #7

Good plugin but it has one bug. It does not show the command under the amx help menu.
[nFb]GraveKeeper is offline
Send a message via AIM to [nFb]GraveKeeper
Neo
Member
Join Date: Mar 2004
Old 04-02-2004 , 13:43  
Reply With Quote #8

just add
Code:
	register_concmd("amx_forcequit","amx_forcequit",ADMIN_KICK,"<name>") //registers help
something like that to have the help item
__________________
Quote:
Originally Posted by Johnny got his gun
Valve said SDK should be here within the week, so well, expect our final release on... hm... Tuesday.
Neo is offline
Send a message via AIM to Neo
Tweek
Junior Member
Join Date: Mar 2004
Location: Hillsboro, Oregon
Old 04-03-2004 , 11:36  
Reply With Quote #9

thanks man i knew there was that bug there but i wasnt sure how to fix it... because this was my first plugin.
__________________
I'm Goin' Down To South Park!
Check out My CS AMXX Server!:
24.20.34.48:27015
Tweek is offline
Send a message via AIM to Tweek
_KaszpiR_
AMX Mod X Beta Tester
Join Date: Feb 2004
Location: Warsaw, Poland
Old 04-05-2004 , 07:12  
Reply With Quote #10

i can achieve exackly the same without using adtiona plugin - amx_exec <name> quit
but on the other side - i cannot then define the permissions to specified admins to be able to use it, so this plugin is useful anyway
__________________
= Ave Cesar, morituri Te salutant. = http://nvt.prv.pl = http://hlds.pl/
_KaszpiR_ is offline
Old 05-25-2004, 16:26
Fisch.666
This message has been deleted by Fisch.666.
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 23:09.


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