- Ошибка
-
не устанавливаются модели игроков
- ОС
- Linux
- Amx Mod X
-
AMX Mod X 1.8.3-Re (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
Authors (ReHLDS Team):
"Adidasman", "s1lent"
Compiled: Dec 24 2016 15:59:38
Build ID: 7
Core mode: JIT + ASM32
- Билд
-
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.4.0.654-dev
Build date: 12:09:21 May 22 2018 (1501)
Build from: https://github.com/dreamstalker/rehlds/commit/65c6ce5
- ReGamedll
-
ReGameDLL version: 5.7.0.312-dev
Build date: 07:53:34 May 31 2018
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/26db32e
- Версия Metamod
-
Metamod v1.21p37 2013/05/30 (5:13)
by Will Day
http://www.metamod.org/
Patch: Metamod-P (mm-p) v37
by Jussi Kivilinna
http://metamod-p.sourceforge.net/
compiled: May 30 2013, 11:41:16 EET (optimized)
- Список метамодулей
-
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] Reunion RUN - reunion_mm_i386. v0.1.0.9 ini Start Never
[ 2] ReAuthCheck RUN - reauthcheck_mm_i v0.1.6 ini Start Never
[ 3] Rechecker RUN - rechecker_mm_i38 v2.5 ini Chlvl ANY
[ 4] AMX Mod X RUN - amxmodx_mm_i386. v1.8.3-R ini Start ANY
[ 5] ReSemiclip RUN - resemiclip_mm_i3 v2.3.9 ini Chlvl ANY
[ 6] WHBlocker RUN - whblocker_mm_i38 v1.5.695 ini Chlvl ANY
[ 7] ReAPI RUN - reapi_amxx_i386. v5.6.0.1 pl4 ANY Never
[ 8] ReAimDetector RUN - reaimdetector_am v0.2.2 pl4 ANY Never
[ 9] FakeMeta RUN - fakemeta_amxx_i3 v1.8.3-R pl4 ANY ANY
[10] MySQL RUN - mysql_amxx_i386. v1.8.3-R pl4 ANY ANY
[11] Fun RUN - fun_amxx_i386.so v1.8.3-R pl4 ANY ANY
[12] Ham Sandwich RUN - hamsandwich_amxx v1.8.3-R pl4 ANY ANY
[13] CStrike RUN - cstrike_amxx_i38 v1.8.3-R pl4 ANY ANY
[14] Engine RUN - engine_amxx_i386 v1.8.3-R pl4 ANY ANY
[15] CSX RUN - csx_amxx_i386.so v1.8.3-R pl4 ANY ANY
15 plugins, 15 running
- Список плагинов
-
Currently loaded plugins:
name version author file status
[ 1] Advanced Gag 1.4.2 neygomon amx_gag.amxx running
[ 2] Admin Loader 3.2 neygomon admin_loader.am running
[ 3] Map Manager 2.5.61 Mistrick mapmanager.amxx running
[ 4] Admin_Check 0.1 CepeH9 adminChek.amxx running
[ 5] FreshBan 1.0.5b kanagava fresh_bans.amxx running
[ 6] One Name 0.1.0 ConnorMcLeod blocknick.amxx running
[ 7] spawn_lotery 0.1 Forze spawn_lotery.am running
[ 8] Admin Commands 1.8.3-Re AMXX Dev Team admincmd.amxx running
[ 9] Menus Front-End 1.5 neugomon menufront_end.a running
[ 10] Players Menu 1.8.3-dev+ AMXX Dev Team plmenu1.amxx running
[ 11] Maps Menu 1.8.3-Re AMXX Dev Team mapsmenu.amxx running
[ 12] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 13] Scrolling Message 1.8.3-Re AMXX Dev Team scrollmsg.amxx running
[ 14] Info. Messages 1.8.3-Re AMXX Dev Team imessage.amxx running
[ 15] Admin Votes 1.8.3-Re AMXX Dev Team adminvote.amxx running
[ 16] 'Fire in the hole' blo 1.0 xPaw hidefireintheho running
[ 17] Don't say IPs 0.1 JGHG dontsayips.amxx running
[ 18] Killa HP 1.0 jas0n killa_hp.amxx running
[ 19] Stats Configuration 1.8.3-Re AMXX Dev Team statscfg.amxx running
[ 20] StatsX 1.8.3-Re AMXX Dev Team statsx.amxx running
[ 21] CS Misc. Stats 1.8.3-Re AMXX Dev Team miscstats.amxx running
[ 22] Auto recording demo 2.0 IzI | Bonaqua (R amx_autodemorec running
[ 23] Lite Admin ESP 1.0 neygomon admin_esp.amxx running
[ 24] C4 Timer on roundtime 0.3.3a neygomon c4timer.amxx running
[ 25] FullSpawns 1.0 Eg@r4$il{ FullSpawns.amxx running
[ 26] In-Game Ads(MastaMan E 1.83 (Edit stupok in_game_ads_Mas running
[ 27] [FR] VIPSystem Private Pl Gavrilyuc 6vipmenu.amxx running
[ 28] Admin Free Look 2.0 Jim admin_freelook. running
[ 29] Lite Translit 2.8 neygomon lite_translit.a running
[ 30] Miscstats Combo Private Pl Gavrilyuc deatheffect_rus running
[ 31] Double Jump 0.01 Bidlo-Koder double_jump.amx running
[ 32] Dynamic Addon Knife Private Pl Gavrilyuc dynamic_knife.a running
[ 33] FrostNades 2.2 Avalanche & Gavr fr_frost.amxx running
[ 34] 0 AutoBhop 0.2.1 ConnorMcLeod furien_autobhop running
[ 35] [FR] Extra Weapon gren 1.0 Gavrilyuc grenades.amxx running
[ 36] [POS ReApi] ResetScore .1a Pos Dev Team resetscore.amxx running
[ 37] Auto Team Balancer 1.1 Gavrilyuc round_balancer. running
[ 38] unknown unknown unknown unlimited_money running
[ 39] Furiens 1.3.2(r) ConnorMcLeod & G furiens.amxx running
[ 40] [FR] Auto Spawn Weapon 1.0 Gavrilyuc spawn_weapon.am running
[ 41] [FR] Shop Bind from Bu 1.1b Gavrilyuc advanced_buy_sh running
[ 42] Remove Buy Zone 0.01 Gavrilyuc delete_buyzone. running
[ 43] Furien Dynamic Shop v0.84(beta Gavrilyuc Shop.amxx running
[ 44] FurienShop: Categories 1.3.2(r) Gavrilyuc default_shop_it running
[ 45] [ZP] Extra: STD Weapon 1.0 Gavrilyuc std_pistols.amx running
[ 46] [ZP] Extra: STD Weapon 1.0 Gavrilyuc std_primary.amx running
[ 47] 0 Armor 0.2.0 ConnorMcLeod furien_armor.am running
[ 48] 0 Health 0.2.0 ConnorMcLeod furien_health.a running
[ 49] 0 DefuseKit 0.2.0 ConnorMcLeod furien_defuseki running
[ 50] 0 WallHang 0.0.2 ConnorMcLeod furien_wallhang running
[ 51] 0 NoFlash 0.0.1 ConnorMcLeod furien_noflash. running
[ 52] [FR] Extra Default Kni 1.1 Gavrilyuc shop_knifes.amx running
[ 53] [FR] Addon Show Statis 1.0 Gavrilyuc round_end.amxx running
[ 54] HudTextArgs Blocker 1.1 joaquimandrade hudTextArgsBloc running
54 plugins, 54 running
- Автор плагина
- Vaqtincha
- Версия плагина
- 0.0.2
- Исходный код
-
#include <amxmodx>
#include <reapi>
native furien_get_user_team(id);
public plugin_precache()
{
precache_player_model("admin1"); // для админа с флагом t
precache_player_model("gign1");
}
public plugin_init()
{
register_plugin("[ReAPI] Admin Models", "0.0.2", "Vaqtincha")
RegisterHookChain(RG_CBasePlayer_SetClientUserInfoModel, "SetClientUserInfoModel", .post = false)
}
public SetClientUserInfoModel(const pPlayer, infobuffer[], szNewModel[])
{
if (!furien_get_user_team(pPlayer))
{
if (~get_user_flags(pPlayer) & ADMIN_LEVEL_H)
{
SetHookChainArg(3, ATYPE_STRING, "gign1");
}
else
{
SetHookChainArg(3, ATYPE_STRING, "admin1");
}
}
return HC_CONTINUE;
}
precache_player_model(const szModel[])
{
new szFileToPrecache[32], szErrMsg[96];
formatex(szFileToPrecache, charsmax(szFileToPrecache), "models/player/%s/%s.mdl", szModel, szModel);
if(!file_exists(szFileToPrecache))
{
formatex(szErrMsg, charsmax(szErrMsg), "[Admin Models] ERROR: Model ^"%s^" not found!", szFileToPrecache);
set_fail_state(szErrMsg);
return 0;
}
return precache_model(szFileToPrecache);
}
Просто не устанавливаются модели игроков
В этой теме было размещено решение! Перейти к решению.