Half-Life и Adrenaline Gamer форум http://aghl.ru/forum/ |
|
*** BLOCK or SWITCH +attack alias *** http://aghl.ru/forum/viewtopic.php?f=12&t=2973 |
Страница 1 из 1 |
Автор: | Kuma77 [ 10 май 2019, 00:41 ] |
Заголовок сообщения: | *** BLOCK or SWITCH +attack alias *** |
hEyy awesome people am facing a problem which is i want to detect who use alias on attack button and remove it, then replace it with normal bind eg: someone who use this script Код: alias "+atck" "+attack; color"i want to detect that and switch it to normal Код: bind "MOUSE1" "+attack"if it's possible if not how i can block it |
Автор: | Kuma77 [ 11 май 2019, 21:09 ] |
Заголовок сообщения: | Re: *** BLOCK or SWITCH +attack alias *** |
ps: I've tried to catch it but bad results Код: register_clcmd("+atck", "handle_script") |
Автор: | Lev [ 23 май 2019, 02:41 ] |
Заголовок сообщения: | Re: *** BLOCK or SWITCH +attack alias *** |
You can't detect alias this way. Also, +attack isn't sent as a command to server, it is sent as bit in "buttons" fields in cmd client message. |
Автор: | Kuma77 [ 27 май 2019, 05:56 ] |
Заголовок сообщения: | Re: *** BLOCK or SWITCH +attack alias *** |
Lev писал(а): +attack isn't sent as a command to server, it is sent as bit in "buttons" fields in cmd client message. Thats the problem and it's contain the action of attack as a button not the script, i only solve that by kicking the users who use that.
|
Страница 1 из 1 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |