- Ошибка
-
не работает
- ОС
- Linux
- Билд
-
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.3.0.601-dev
Build date: 15:06:05 Oct 9 2017 (1276)
Build from: https://github.com/dreamstalker/rehlds/commit/2829c7f
- ReGamedll
-
ReGameDLL version: 5.3.0.222-dev
Build date: 22:15:38 Sep 22 2017
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/27f0563
- Список метамодулей
-
[ 1] VoiceTranscoder RUN - VoiceTranscoder. v2017RC3 ini ANY ANY
[ 2] Reunion RUN - reunion_mm_i386. v0.1.75 ini Start Never
[ 3] AMX Mod X RUN - amxmodx_mm_i386. v1.8.2 ini Start ANY
[ 4] WHBlocker RUN - whblocker_mm_i38 v1.5.692 ini Chlvl ANY
[ 5] Rechecker RUN - rechecker_mm_i38 v2.4 ini Chlvl ANY
[ 6] SafeNameAndChat RUN - SafeNameAndChat. v1.1 ini ANY ANY
[ 7] ReAuthCheck RUN - reauthcheck_mm_i v0.1.6 ini Start Never
[ 8] ReSemiclip RUN - resemiclip_mm_i3 v2.3.9 ini Chlvl ANY
[ 9] ReAPI RUN - reapi_amxx_i386. v5.2.0.1 pl3 ANY Never
[10] Fun RUN - fun_amxx_i386.so v1.8.2 pl3 ANY ANY
[11] Engine RUN - engine_amxx_i386 v1.8.2 pl3 ANY ANY
[12] FakeMeta RUN - fakemeta_amxx_i3 v1.8.2 pl3 ANY ANY
[13] CStrike RUN - cstrike_amxx_i38 v1.8.2-d pl3 ANY ANY
[14] Ham Sandwich RUN - hamsandwich_amxx v1.8.2 pl3 ANY ANY
[15] CSX RUN - csx_amxx_i386.so v1.8.1.3 pl3 ANY ANY
[16] MySQL RUN - mysql_amxx_i386. v1.8.2 pl3 ANY ANY
16 plugins, 16 running
- Список плагинов
-
[ 1] FreshBans 1.3.7b kanagava fresh_bans.amxx running
[ 2] AIM detector 0.7.4e kanagava aim_detector.am running
[ 3] Anticheat 3.1.6 ctr52 anticheat.amxx running
[ 4] Advanced Gag 1.9.0 neygomon amx_gag.amxx running
[ 5] Admin Load 3.9.2 Dev F@nt0M adminload.amxx running
[ 6] Admin Commands 1.8.1.3746 AMXX Dev Team admincmd.amxx running
[ 7] Menus Front-End 1.5 neugomon menufront_end.a running
[ 8] AmxModMenu_New 1.0 CaNiBaL | Remake menufront2.amxx running
[ 9] Commands Menu 1.8.1.3746 AMXX Dev Team cmdmenu.amxx running
[ 10] Players Menu 1.7 neugomon players_menu.am running
[ 11] Maps Menu 1.8.1.3746 AMXX Dev Team mapsmenu.amxx running
[ 12] Admin Chat 1.8.2 AMXX Dev Team adminchat.amxx running
[ 13] Admin Votes 1.8.1.3746 AMXX Dev Team adminvote.amxx running
[ 14] CSStatsX SQL 0.7.4 serfreeman1337 csstatsx_sql.am running
21:15:16 [ 15] AES: StatsX 0.5 Vega serfreeman1337 aes_statsx_cstr running
[ 16] StatsX 1.8.1.3746 AMXX Dev Team statsx.amxx running
[ 17] Restrict Weapons 1.8.2 AMXX Dev Team restmenu.amxx running
[ 18] Pause Plugins 1.8.1.3746 AMXX Dev Team pausecfg.amxx running
[ 19] Stats Configuration 1.8.1.3746 AMXX Dev Team statscfg.amxx running
[ 20] End Round Music 2.0 Sho0ter endroundmusic.a running
[ 21] Aliases checker 1.0.3 kanagava alias_detector. running
[ 22] AC Spectator ESP 15.09.28 SKAJIbnEJIb & Ko ac_esp.amxx running
[ 23] Ping Control 1.31 neygomon Ping_Control.am running
[ 24] Team Balancer 1.8b3 Ptahhotep ptb_rus.amxx running
[ 25] Knife Duel 1.0 Alka knife_duel.amxx running
[ 26] Anti-Ad 0.1 Mati antiad.amxx running
[ 27] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 28] Yet Another Voteban 1.52 AndrewZ/noskill yet_another_vot running
[ 29] Afk Control 0.5.1 neygomon afk_control.amx running
21:15:16 [ 30] [ReAPI] VIP System 1.3.1 pUzzlik warr_vip_system running
[ 31] DemoRecoder 1.1 neygomon amx_demorec.amx running
[ 32] WeaponMenu 1.0 UNREAL weaponmenuadmin running
[ 33] Flash Control 2.2 neygomon flash_control.a running
[ 34] FM ResetScore 0.1 neygomon fm_rs.amxx running
[ 35] Parachute New 1.0 Csserv.Ru parachute_new.a running
[ 36] C4 Timer on roundtime 0.3.3a neygomon c4timer.amxx running
[ 37] Silly C4 1.2 Cheap_Suit sillyc4.amxx running
[ 38] Amx Change Name 1.0 neygomon amx_namechanger running
[ 39] Show Motd 0.1 unnamed motd.amxx running
[ 40] Steam Bonus 1.1 ill+F@nToM steam_bonus_a2. running
[ 41] Lite Translit 2.8 neygomon lite_translit.a debug
41 plugins, 41 running
- Исходный код
-
#include <amxmodx>
#include <engine>
new g_iLaser;
new bool:g_bAdmin[33];
new bool:g_IsAlive[33];
public plugin_precache()
g_iLaser = precache_model("sprites/laserbeam.spr");
public plugin_end()
{
new pl[32], pnum; get_players(pl, pnum);
for(new i; i < pnum; i++)
remove_task(pl[i]);
}
public plugin_init()
{
#define VERSION "1.0"
register_plugin("Lite Admin ESP", VERSION, "neygomon");
register_cvar("lite_aesp", VERSION, FCVAR_SERVER | FCVAR_SPONLY);
register_event("DeathMsg", "eDeathMsg", "a", "1>0");
register_event("ResetHUD", "eResetHud", "be");
register_event("TextMsg", "eSpecMode", "b", "2&#Spec_M");
}
public client_putinserver(id)
{
g_bAdmin[id] = (get_user_flags(id) & ADMIN_KICK) ? true : false;
g_IsAlive[id] = false;
}
public client_disconnect(id)
{
if(g_bAdmin[id])
remove_task(id);
}
public eDeathMsg()
g_IsAlive[read_data(2)] = false;
public eResetHud(id)
g_IsAlive[id] = true;
public eSpecMode(id)
{
if(!g_bAdmin[id]) return;
if(entity_get_int(id, EV_INT_iuser1) == 4)
set_task(0.3, "EspTimer", id, .flags="b");
else
remove_task(id);
}
public EspTimer(id)
{
switch(g_IsAlive[id])
{
case false:
{
static iTarget; iTarget = entity_get_int(id, EV_INT_iuser2);
if(iTarget && is_user_alive(iTarget) && is_valid_ent(iTarget))
SendQuadro(id, iTarget);
}
case true: remove_task(id);
}
}
SendQuadro(id, iTarget)
{
static pl[32], pnum, my_team;
static Float:my_origin[3], Float:target_origin[3], Float:v_middle[3], Float:v_hitpoint[3];
static Float:distance, Float:distance_to_hitpoint, Float:distance_target_hitpoint, Float:scaled_bone_len;
static Float:v_bone_start[3], Float:v_bone_end[3], Float:offset_vector[3], Float:eye_level[3];
entity_get_vector(iTarget, EV_VEC_origin, my_origin);
my_team = get_user_team(iTarget);
get_players(pl, pnum, "ah");
for(new i; i < pnum; i++)
{
if(pl[i] == iTarget) continue;
if(my_team == get_user_team(pl[i])) continue;
entity_get_vector(pl[i], EV_VEC_origin, target_origin);
distance = vector_distance(my_origin, target_origin);
trace_line(-1, my_origin, target_origin, v_hitpoint);
subVec(target_origin, my_origin, v_middle);
normalize(v_middle, offset_vector, (distance_to_hitpoint = vector_distance(my_origin, v_hitpoint)) - 10.0);
copyVec(my_origin, eye_level);
eye_level[2] += 17.5;
addVec(offset_vector, eye_level);
copyVec(offset_vector, v_bone_start);
copyVec(offset_vector, v_bone_end);
v_bone_end[2] -= (scaled_bone_len = distance_to_hitpoint / distance * 50.0);
if(distance_to_hitpoint == distance)
continue;
distance_target_hitpoint = (distance - distance_to_hitpoint) / 12;
MakeQuadrate(id, v_bone_start, v_bone_end, floatround(scaled_bone_len * 3.0), (distance_target_hitpoint < 170.0) ? (255 - floatround(distance_target_hitpoint)) : 85)
}
}
stock normalize(Float:Vec[3], Float:Ret[3], Float:multiplier)
{
static Float:len; len = vector_distance(Vec, Float:{ 0.0, 0.0, 0.0 });
copyVec(Vec, Ret);
Ret[0] /= len;
Ret[1] /= len;
Ret[2] /= len;
Ret[0] *= multiplier;
Ret[1] *= multiplier;
Ret[2] *= multiplier;
}
stock copyVec(Float:Vec[3], Float:Ret[3])
{
Ret[0] = Vec[0];
Ret[1] = Vec[1];
Ret[2] = Vec[2];
}
stock subVec(Float:Vec1[3], Float:Vec2[3], Float:Ret[3])
{
Ret[0] = Vec1[0] - Vec2[0];
Ret[1] = Vec1[1] - Vec2[1];
Ret[2] = Vec1[2] - Vec2[2];
}
stock addVec(Float:Vec1[3], Float:Vec2[3])
{
Vec1[0] += Vec2[0];
Vec1[1] += Vec2[1];
Vec1[2] += Vec2[2];
}
MakeQuadrate(id, Float:Vec1[3], Float:Vec2[3], width, brightness)
{
message_begin(MSG_ONE_UNRELIABLE, SVC_TEMPENTITY, { 0, 0, 0 }, id);
write_byte(0);
write_coord(floatround(Vec1[0]));
write_coord(floatround(Vec1[1]));
write_coord(floatround(Vec1[2]));
write_coord(floatround(Vec2[0]));
write_coord(floatround(Vec2[1]));
write_coord(floatround(Vec2[2]));
write_short(g_iLaser);
write_byte(3);
write_byte(0);
write_byte(3);
write_byte(width);
write_byte(0);
write_byte(0);
write_byte(255);
write_byte(0);
write_byte(brightness);
write_byte(0);
message_end();
}
здраствуйте
хотел сделать lite esp для всех
и поставил вместо ADMIN_KICK ADMIN_ALL
после этих действий перестал работать
помогите сделать для всех
хотел сделать lite esp для всех
и поставил вместо ADMIN_KICK ADMIN_ALL
после этих действий перестал работать
помогите сделать для всех
В этой теме было размещено решение! Перейти к решению.