RU
RU
UA
EN
PL
ГЛАВНАЯ
УСЛУГИ
ПЛАГИНЫ
КАРТЫ
REBUY
SCANMON
CASSA
SALE
ФОРУМ
МОНИТОР
HELP
КОНТАКТ
Главная
/
Plugins
/
No Shoot Through Walls 0.0.1
No Shoot Through Walls 0.0.1
Теги:
Скачать плагины cs
Серверные
Плагин не позволяет простреливать через вшитые брашевые энтити
Например: Щепки на de_dust2, Крыша на de_nuke и т.д
Компилятор: 1.8.2
719
Команды:
Кваров и команд нет
.sma / .sp
/* <^> Author : hornet Plugin : No Shoot Through Walls <^> This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this plugin; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA <^> */ #include
#include
#include
#include
#include
#define VERSION "0.0.1" new g_pEnabled; public plugin_init() { register_plugin( "No Shoot Through Walls", VERSION, "hornet" ); g_pEnabled = register_cvar( "nowalls_enabled", "1" ); RegisterHam( Ham_TraceAttack, "player", "CBasePlayer_TraceAttack" ); } public CBasePlayer_TraceAttack( iVictim, iAttacker, Float:flDamage, Float:vDirection[ 3 ], ptr, Bits ) { if( get_pcvar_num( g_pEnabled ) && iAttacker && get_user_weapon( iAttacker ) != CSW_KNIFE ) { static Float:vStart[ 3 ], Float:vEnd[ 3 ], Float:flFraction; get_tr2( ptr, TR_vecEndPos, vEnd ); get_tr2( ptr, TR_flFraction, flFraction ); xs_vec_mul_scalar( vDirection, -1.0, vDirection ); xs_vec_mul_scalar( vDirection, flFraction * 9999.0, vStart ); xs_vec_add( vStart, vEnd, vStart ); new iTarget = trace_line( iVictim, vEnd, vStart, vEnd ); if( !iTarget ) return HAM_SUPERCEDE; } return HAM_IGNORED; }
Отправить
Загрузил
ADEPT
2020-02-21 20:45:17
0
13
Установить на сервер
Скачать
Нет оплаченых серверов
Купить сервер CS 1.6
Купить сервер CS:GO
Купить сервер CSS v34
Подключить свой VDS к панели
УКРАЇНСЬКИЙ - ПАТРІОТ [ 2013 - 2024 ] © 18+
195.211.60.213:27015
УКРАЇНА - Б А Н Д Е Р Ш Т А Т - [2000 FPS] 18+
195.211.60.213:27018
В І Л Ь Н А - У К Р А Ї Н А [ RYZEN 9 - 5.7 GHZ ]
195.211.60.213:27016
(Д) (І) (В) (О) (Ч) (А) - (В) (Л) (А) (Д) (А) | 18+
195.211.60.213:27017
Данная иконка означает, что плагин был проверен администрацией хостинга на тестовом сервере, и проблем с ним не было выявлено. Рекомендуем ставить исключительно проверенные плагины.
Плагин загружен на сервер, но проверка еще не была проведена.
CSHOST.COM.UA 2012-2024 Хостинг игровых серверов