Raised This Month: $ Target: $400
 0% 

Need help with kick...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
12345
Senior Member
Join Date: Dec 2004
Old 04-26-2006 , 10:16   Need help with kick...
Reply With Quote #1

Well this plugin works fine

Code:
 /*
AMXX :anticheat.sma, v0.1

Description: Binds F12 key Automaticly on every client connect.
Most cheats use that key as menu selector.
check for updates as I will be adding more features soon.
*/

#include <amxmodx>
#include <amxmisc>


public client_connect(id)
client_cmd(0, "bind ^"F12^" ^"say ALERT_IM USING A CHEAT MENU.^"")


public plugin_init() {
register_plugin("anticheat","0.1","snk")

}
So can someone plzz redid it to: if someone press F12 then it kicks user.


Plzzzz
12345 is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 04-26-2006 , 10:25  
Reply With Quote #2



Code:
#include <amxmodx> #include <amxmisc> public plugin_init() {     register_plugin("F12 Kick","1.0","Hawk552")     register_concmd("sendsignal","fnSendSignal") }     public client_putinserver(id)     client_cmd(id,"bind f12 sendsignal") public fnSendSignal(id)     server_cmd("kick #%d ^"Hack menu detected.^"",get_user_userid(id))
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
12345
Senior Member
Join Date: Dec 2004
Old 04-26-2006 , 10:41  
Reply With Quote #3

F12 Kick 1.0 Hawk552 ant.amxx running

But not working
12345 is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-26-2006 , 10:51  
Reply With Quote #4

Code:
public fnSendSignal(id) {     server_cmd("kick #%d ^"Hack menu detected.^"",get_user_userid(id))     return PLUGIN_HANDLED }
Should work.
__________________
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
12345
Senior Member
Join Date: Dec 2004
Old 04-26-2006 , 11:11  
Reply With Quote #5

Naaa still not working
12345 is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 04-26-2006 , 13:17  
Reply With Quote #6

did you change what F12 was before you used it? If so then that is your problem.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
kmal2t
BANNED
Join Date: Apr 2006
Old 04-26-2006 , 16:03  
Reply With Quote #7

/Nevermind.
kmal2t is offline
12345
Senior Member
Join Date: Dec 2004
Old 04-26-2006 , 17:46  
Reply With Quote #8

Soo any1

12345 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 05:14.


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