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

Auto Kick


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 04-14-2005 , 09:23   Auto Kick
Reply With Quote #1

Hey.
I'm looking for a script that automatiicly kicks a player when he e.g. get 100 kills.
Also I would like if I could change the number of kills myself.
I hope someone can help me.
123 is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-14-2005 , 16:03  
Reply With Quote #2

This will check at the beginning of each round if the user's frags (kills) are over X amount. If so, it'll kick the user.

Cvar: frags_limit (default 100)

Code:
#include <amxmodx> public plugin_init() {     // ..     register_event("ResetHUD","newRound","be")     register_cvar("frags_limit","100") } public newRound(id) {     if(get_user_frags(id) >= get_cvar_num("frags_limit")) {         server_cmd("kick #%d",get_user_userid(id))     }     return PLUGIN_HANDLED }
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 04-15-2005 , 08:11  
Reply With Quote #3

I just tested it on my listen server, and it doesn't work.
123 is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-15-2005 , 15:47  
Reply With Quote #4

Woops! Try it now.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 04-15-2005 , 16:37  
Reply With Quote #5

Don't know why, but it still doesn't work...
__________________
//ShadowLeader - 123
123 is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-15-2005 , 16:48  
Reply With Quote #6

Try it now. Tell me exactly what you are doing.

Are you changing the amount of kills in-game? Are you waiting til a new round?
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 04-15-2005 , 17:00  
Reply With Quote #7

All I do is that I change 100 to 10.
Then I compile it.
And test it. I do not change anything in-game.

From amxx list:
Code:
[ 21] unknown            unknown  unknown           frag_kicker.amx  running
__________________
//ShadowLeader - 123
123 is offline
ZiP*
Senior Member
Join Date: Jul 2004
Old 04-15-2005 , 17:19  
Reply With Quote #8

Code:
register_plugin("PLUGIN NAME","VERSION","AUTHOR")

ZiP* is offline
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 04-15-2005 , 17:23  
Reply With Quote #9

@v3x

plugin works fine, i just try it myself
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-15-2005 , 17:29  
Reply With Quote #10

Quote:
Originally Posted by 123
All I do is that I change 100 to 10.
Then I compile it.
And test it. I do not change anything in-game.

From amxx list:
Code:
[ 21] unknown            unknown  unknown           frag_kicker.amx  running
.amxx

@ZiP*
You don't need that.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x 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 05:19.


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