Thread: Auto Kick
View Single Post
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