AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Need help with kick... (https://forums.alliedmods.net/showthread.php?t=27653)

12345 04-26-2006 10:16

Need help with kick...
 
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 :cry:

Hawk552 04-26-2006 10:25

:arrow:

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))

12345 04-26-2006 10:41

F12 Kick 1.0 Hawk552 ant.amxx running

But not working :cry:

v3x 04-26-2006 10:51

Code:
public fnSendSignal(id) {     server_cmd("kick #%d ^"Hack menu detected.^"",get_user_userid(id))     return PLUGIN_HANDLED }
Should work.

12345 04-26-2006 11:11

Naaa still not working :cry:

Xanimos 04-26-2006 13:17

did you change what F12 was before you used it? If so then that is your problem.

kmal2t 04-26-2006 16:03

/Nevermind.

12345 04-26-2006 17:46

Soo any1

:cry:


All times are GMT -4. The time now is 05:14.

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