Recoil Manager

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
42
Реакции
5
Ошибка
Не работает настройка отдачи
ОС
Linux
Amx Mod X
amxx version
AMX Mod X 1.9.0.5271 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Jun 24 2020 13:53:30
Built from: https://github.com/alliedmodders/amxmodx/commit/5eea3e5
Build ID: 5271:5eea3e5
Core mode: JIT+ASM32
Билд
version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.11.0.776-dev
Build date: 19:37:50 Apr 20 2022 (2930)
Build from: https://github.com/dreamstalker/rehlds/commit/3dc9f8c
ReGamedll
game version
ReGameDLL version: 5.21.0.546-dev
Build date: 15:32:48 Dec 28 2021
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/09a6c61
Версия Metamod
meta version
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 17:47:54 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70
Список метамодулей
meta list
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] Reunion RUN - reunion_mm_i386.so v0.1.92d ini Start Never
[ 2] VoiceTranscoder RUN - VoiceTranscoder.so v2017RC3 ini ANY ANY
[ 3] WHBlocker RUN - whblocker_mm_i386.so v1.5.697 ini Chlvl ANY
[ 4] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5271 ini Start ANY
[ 5] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 6] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 7] Rechecker RUN - rechecker_mm_i386.so v2.5 ini Chlvl ANY
[ 8] AuthEmu RUN - authemu_amxx_i386.so v5.2.12.525-dev+m pl4 ANY Never
[ 9] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl4 ANY Never
[10] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5281 pl4 ANY ANY
[11] ReAPI RUN - reapi_amxx_i386.so v5.21.0.248-dev pl4 ANY Never
[12] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5281 pl4 ANY ANY
[13] Engine RUN - engine_amxx_i386.so v1.9.0.5281 pl4 ANY ANY
[14] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5281 pl4 ANY ANY
[15] Fun RUN - fun_amxx_i386.so v1.9.0.5281 pl4 ANY ANY
[16] CSX RUN - csx_amxx_i386.so v1.9.0.5281 pl4 ANY ANY
[17] MySQL RUN - mysql_amxx_i386.so v1.10.0.5435 pl4 ANY ANY
17 plugins, 17 running
Список плагинов
amxx plugins
Currently loaded plugins:
name version author file status
[ 1] Player Models 1.1 mx?! player_models.a running
[ 2] AuthEmu API 1.0 Dev-MS Team authemu.amxx running
[ 3] Revive Die Players 2.1.3a Emma Jule revive2.amxx running
[ 4] [190] VIP RBS 20.07.20 SKAJIbnEJIb vip_rbs.amxx running
[ 5] Advanced Ultimate Weap 0.1.0b steelzzz auw.amxx running
[ 6] recoil_manager 0.8.0 fl0wer recoil_manager. running
[ 7] Chat Manager: Addon 0.0.4-70 Mistrick chatmanager_add running
[ 8] Unreal Spawn Fixer 1.1 karaulov spawn.amxx running
[ 9] HeadShot Blood 1.1 tuty headshot_blood. running
[ 10] [182] Ultimate Flags 21.03.24BE SKAJIbnEJIb ultimate_flags. running
[ 11] [ReAPI] Random Weapons 2.4.9 neugomon/h1k3 random_weapons_ running
[ 12] Block Manager 1.0 maFFyoZZyk block_manager.a running
[ 13] Auto Team Balance Adva 1.5.1 Radius auto_team_balan running
[ 14] Mode 2x2 2.5re s1lent mode.amxx running
[ 15] CSO Kill Sounds 1.0.7 Radius (based on cso_kill_sounds running
[ 16] [182] MapChooser RBS 20.08.02 SKAJIbnEJIb & UF mapchooser_rbs. running
[ 17] [182] TimeLeft 18.09.25 SKAJIbnEJIb & AM timeleft.amxx running
[ 18] CSStatsX SQL 0.7.4+2 serfreeman1337 csstatsx_sql.am running
[ 19] AES: StatsX 0.5+1 serfreeman1337 aes_statsx_cstr running
[ 20] Advanced Experience Sy 0.5.9 [REA serfreeman1337/s aes_main.amxx running
[ 21] AES: CStrike Addon 0.5.9 [REA serfreeman1337/s aes_exp_cstrike running
[ 22] AES: Informer 0.5.9 [REA serfreeman1337/s aes_informer.am running
[ 23] AES: Bonus System 0.5.9 [REA serfreeman1337/s aes_bonus_syste running
[ 24] AES: Bonus CSTRIKE 0.5.9.1 [R serfreeman1337/s aes_bonus_cstri running
[ 25] Stats Configuration 1.10.0.543 AMXX Dev Team statscfg.amxx running
[ 26] Top Awards 1.0 Dom1no_[KZ] top_awards.amxx running
[ 27] GameCMS_API 5.6.1 zhorzh78 gamecms_api_5.6 running
[ 28] GameCMS_GagManager 2.2.7 ReAp zhorzh78 gamecms_gagmana running
[ 29] CheckSteamID 1.0 ApXuTekToR CheckSteamID.am running
[ 30] GameCMS_VipTest 3.8.1 zhorzh78 gamecms_viptest running
[ 31] GameCMS Time Awards 1.5 zhorzh78 gamecms_time_aw running
[ 32] Items Restrict 1.1 s1lent items_restrict. running
[ 33] [ReAPI] TopRoundDamage 1.0.6 Dager* *.* -G- damage_round.am running
[ 34] Yet Another Voteban 1.8 AndrewZ/voed voteban.amxx running
[ 35] Server Menu 1.5.0 F@nt0M server_menu.amx running
[ 36] Players Menu 1.7 neugomon players_menu.am running
[ 37] [ReAPI] No Team Flash 0.0.3 Vaqtincha no_team_flash.a running
[ 38] Reklama 20.05.2020 mx?! reklama.amxx running
[ 39] FreshBan 1.0.5b kanagava fresh_bans.amxx running
[ 40] Damager 0.0.5 steelzzz damager.amxx running
[ 41] Menu System 0.1.2 serfreeman1337 menuSystem.amxx running
[ 42] Killer ScreenFade 0.0.5 Vaqtincha screenfade.amxx running
[ 43] GameName by Time 1.0 mx?! gamename_by_tim running
[ 44] [GRENADE] Molotov 1.0.2 medusa grenade_molotov running
[ 45] [ReAPI] Healthnade 0.0.3f F@nt0M + mx?! reapi_healthnad running
[ 46] Demo Recorder 2.4.1 F@nt0M demo_recorder.a running
[ 47] Parachute Lite [ReAPI] 11.0 Leo_[BH] parachute.amxx running
[ 48] Maps Menu 20.06.06 SKAJIbnEJIb & AM mapsmenu_rbs.am running
[ 49] [182] Snipers RBS 20.06.06 SKAJIbnEJIb snipers_rbs.amx running
[ 50] [SQL] Chat Manager 1.1.1-13 Mistrick chatmanager.amx running
[ 51] resetscore(ReAPI) 1.0 Phantom resetscore.amxx running
[ 52] Advanced Kill Assists 1.3c Xelson killassist.amxx running
[ 53] Say me and Say hp 1.4 neygomon sayme_reapi.amx running
[ 54] C4 Timer 1.1 SAMURAI & Remod: c4_timer.amxx running
[ 55] [190] AC Spectator ESP 20.06.06 SKAJIbnEJIb & Ko ac_esp.amxx running
[ 56] AFK Control ReNew 1.2(a) neygomon afk_control.amx running
[ 57] Custom Smoke 1.09 bionext custom_smoke.am running
[ 58] Models Replacement 0.0.2 ConnorMcLeod | V models_replacem running
[ 59] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
59 plugins, 59 running
Автор плагина
https://dev-cs.ru/resources/1217/
Версия плагина
https://dev-cs.ru/resources/1217/
Исходный код
https://dev-cs.ru/resources/1217/
Не работает настройка отдачи, не знаете в чём может быть дело?
 
В этой теме было размещено решение! Перейти к решению.
Сообщения
354
Реакции
73
Помог
1 раз(а)
temp78, как ты понял что настройка не работает?
 
Сообщения
42
Реакции
5
@GALAXY,ставил отдачу 0.1
29 Май 2022
Benzogang_BabyTape, всё стандарт, ставил 0.8 в конфиг вместо 1.0
 
Сообщения
892
Реакции
149
Помог
25 раз(а)
temp78, в конфиге или исходнике? конфига от плагина нету же.
 
Сообщения
42
Реакции
5
код не надо прятать под спойлер, нужно использовать в редакторе функцию "вставить код"
Benzogang_BabyTape,
#pragma semicolon 1
#include <amxmodx>
#include <hamsandwich>
#include <reapi>
new const Float:WEAPONS_RECOIL[MAX_WEAPONS] =
{
0.8, // WEAPON_NONE
0.8, // WEAPON_P228
0.8, // WEAPON_GLOCK
0.8, // WEAPON_SCOUT
0.8, // WEAPON_HEGRENADE
0.8, // WEAPON_XM1014
0.8, // WEAPON_C4
0.8, // WEAPON_MAC10
0.8, // WEAPON_AUG
0.8, // WEAPON_SMOKEGRENADE
0.8, // WEAPON_ELITE
0.8, // WEAPON_FIVESEVEN
0.8, // WEAPON_UMP45
0.8, // WEAPON_SG550
0.8, // WEAPON_GALIL
0.8, // WEAPON_FAMAS
0.8, // WEAPON_USP
0.8, // WEAPON_GLOCK18
0.8, // WEAPON_AWP
0.8, // WEAPON_MP5N
0.8, // WEAPON_M249
0.8, // WEAPON_M3
0.8, // WEAPON_M4A1
0.8, // WEAPON_TMP
0.8, // WEAPON_G3SG1
0.8, // WEAPON_FLASHBANG
0.8, // WEAPON_DEAGLE
0.8, // WEAPON_SG552
0.8, // WEAPON_AK47
0.8, // WEAPON_KNIFE
0.8, // WEAPON_P90
};
public plugin_init()
{
register_plugin("recoil_manager", "0.8.0", "fl0wer");
new weaponName[24];
for (new i = 1; i < MAX_WEAPONS - 1; i++)
{
if ((1<<i) & ((1<<2) | (1<<CSW_KNIFE) | (1<<CSW_HEGRENADE) | (1<<CSW_FLASHBANG) | (1<<CSW_SMOKEGRENADE) | (1<<CSW_C4)))
continue;
rg_get_weapon_info(WeaponIdType:i, WI_NAME, weaponName, charsmax(weaponName));
RegisterHam(Ham_Weapon_PrimaryAttack, weaponName, "@CBasePlayerWeapon_PrimaryAttack_Post", true);
}
}
@CBasePlayerWeapon_PrimaryAttack_Post(id)
{
new weaponId = get_member(id, m_iId);
if (WEAPONS_RECOIL[weaponId] == 0.8)
return;
new player = get_member(id, m_pPlayer);
new Float:vecPunchAngle[3];
get_entvar(player, var_punchangle, vecPunchAngle);
for (new i = 0; i < 3; i++)
vecPunchAngle *= WEAPONS_RECOIL[weaponId];
set_entvar(player, var_punchangle, vecPunchAngle);
}

 
Сообщения
42
Реакции
5
Исправил ошибку!)

Я изменял квар 1.0 через CTRL + F, и случайно затронул weapon_id где также был 1.0, из-за этого стрельба не так работала. + Включил reapi
 
Статус
В этой теме нельзя размещать новые ответы.

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу