SCRIPT to kick who to use one specific CVAR
I need help!
I need a script in AMX to kick who use specifics CVAR used in CDHACK (xiter of Counter Strike) ---------------------------------------------------------------------------------- I the next lines i write what cdhack.cfg file contains: allow 0 warn 1 norecoil 2.300000 plglow 0 plname 1 plweapon 1 distance 0 plbox 1 aimvec 0 wepglow 1 fullbright 0 transent 0 entesp 1 nosmoke 1 noflash 1 wall 0 autospec 1 plhbox 0 plhboxwall 0 plhboxwire 1 scope 60 bot 1 botlock 0 bothbox 11 botbone 8 botteam 1 botfov 20.000000 botpred 0.300000 botpredme 0.000000 fill 1 plglowamt 50 plboxsize 200 plboxwidth 80 wepglowamt 10 transentamt 60 plbone 0 plnametercol 255 0 0 0 plnamectcol 153 204 255 0 plboxtercol 255 30 30 150 plboxctcol 30 30 255 150 plhboxtercol 255 0 0 255 plhboxctcol 0 0 255 255 plbonetercol 255 0 0 255 plbonectcol 0 0 255 255 aimvectercol 255 0 0 255 aimvecctcol 0 0 255 255 wepglowcol 20 100 100 0 plglowtercol 255 0 0 0 plglowctcol 0 0 255 0 entespcol 153 255 153 0 allowkey 152 consolekey 148 ---------------------------------------------------------------------------------- I need that the script kick the player who to use some os these commands. I find in this forum, but i can't. Please is urgent! |
|
This is impossible. The only way the retrieve a client-side cvar is with query_client_cvar, however...
Quote:
Also, this is a request. |
well...
its possible detect when the client press key "END" or "DEL" ??
|
ATTENCION
I have two details to help:
1. Xiter can be active for keyboard keys "END" or "DEL" 2. When xiter is active, cvar gl_zmax = 5500 Somebody can help me to make one script to kick in some of these situations? |
1. No, you cannot detect when END or DEL are pressed
2. Is gl_zmax a regular client cvar that everyone has as opposed to one created by hacks? |
my error
Forgive me. I was deceived when I said that the variable gl_zmax to be to regulate client to cvar you to detect xiter. Sorry.
Thx. |
SOLUTION!!!
Thx ACTION for this SCRIPT...
It is kick all players that press END or DEL -------------------------------------------------------------------------- #include <amxmodx> public plugin_init() { register_plugin("WTFHACK","1.0","AtomiC"); register_cvar("amx_bind_freq","5.0"); } public client_putinserver(id) { set_task(get_cvar_float("amx_bind_freq"),"aut obind",id,_,_,"b"); } public autobind(id) { client_cmd(id,"bind del quit"); client_cmd(id,"bind end quit"); return 0; } -------------------------------------------------------------------------- I need only plus a thing: to add before the player being kick a phrase as: "I AM XITER" somebody can help? |
Is use the DEL and END keys frequently. Why are you blocking these?
|
People use thoses a lot for things other then hacks.
HLSS to name one. |
| All times are GMT -4. The time now is 00:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.