Проблемы с моделями.

Сообщения
9
Реакции
0
Ошибка
Нету
ОС
Windows
Amx Mod X
Amx Mod X 1.9.0
Билд
ReHLDS version: 3.7.9.692-dev
ReGamedll
ReGameDLL version 5.16.0.460-dev
Версия Metamod
Metamod-r v1.3.0.128 API (5:13)
Список метамодулей
Currently loaded plugins:
description stat pend file vers src load
unload
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.9.0.5249 ini Start
ANY
[ 2] Reunion RUN - reunion_mm.dll v0.1.0.92 ini Start
Never
[ 3] Revoice RUN - revoice_mm.dll v0.1.0.32 ini Start
Never
[ 4] POD-Bot mm RUN - podbot_mm.dll v3.0B20b ini Chlvl
ANY
[ 5] MySQL RUN - mysql_amxx.dll v1.9.0.5263 pl1 ANY
ANY
[ 6] Fun RUN - fun_amxx.dll v1.9.0.5263 pl1 ANY
ANY
[ 7] Engine RUN - engine_amxx.dll v1.9.0.5263 pl1 ANY
ANY
[ 8] FakeMeta RUN - fakemeta_amxx.dll v1.9.0.5263 pl1 ANY
ANY
[ 9] GeoIP RUN - geoip_amxx.dll v1.9.0.5263 pl1 ANY
ANY
[10] Ham Sandwich RUN - hamsandwich_amxx.dll v1.9.0.5263 pl1 ANY
ANY
[11] ReAimDetector RUN - reaimdetector_amxx.dll v0.2.2 pl1 ANY
Never
[12] CStrike RUN - cstrike_amxx.dll v1.9.0.5263 pl1 ANY
ANY
[13] CSX RUN - csx_amxx.dll v1.9.0.5263 pl1 ANY
Список плагинов
amxx plugins
Currently loaded plugins:
name version author file st
atus
[ 1] Admin Base 1.8.2 AMXX Dev Team admin.amxx ru
nning
[ 2] Admin Base (SQL) 1.8.1.3746 AMXX Dev Team admin_sql.amxx ru
nning
[ 3] FreshBans 1.4.0b kanagava fresh_bans.amxx ru
nning
[ 4] fb_forwards 0.1.5 Kanagava & Realu fb_forwards.amx ru
nning
[ 5] Players Menu 1.8.2 AMXX Dev Team Slap.amxx ru
nning
[ 6] Players Menu 1.8.2 AMXX Dev Team Kick.amxx ru
nning
[ 7] AmxModMenu_New 1.0 CaNiBaL | Remake menufront.amxx ru
nning
[ 8] WH Blocker 1.5 Sign wh_blocker.amxx ru
nning
[ 9] Weapon Model + Sound R 1.2 GHW_Chronic new_weapons.amx ru
nning
[ 10] Advanced Experience Sy 0.4 serfreeman1337 aes_main.amxx de
bug
[ 11] AES: Informer 0.2 serfreeman1337 aes_informer.am de
bug
[ 12] AES: Experience Editor 0.1 serfreeman1337 aes_exp_editor. de
bug
[ 13] AES: Exp CSTRIKE 0.3 serfreeman1337 aes_exp_cstrike de
bug
[ 14] AES: Bonus System 0.2 serfreeman1337 aes_bonus_syste de
bug
[ 15] AES: Bonus CSTRIKE 0.4 serfreeman1337 aes_bonus_cstri de
bug
[ 16] vipmenu 1.0 lol ;D vipmenu.amxx ru
nning
[ 17] Instant AutoTeamBalanc 1.2.0 ConnorMcLeod instant_autotea ru
nning
[ 18] Map Manager 2.5.60 Mistrick mapmanager.amxx ru
nning
[ 19] Map Manager: Sub Plugi 0.1 Mistrick mapmanager_subp ru
nning
[ 20] Anti Flood + NameSpam 0.1 AMXX Dev Team (J antiflood.amxx ru
nning
[ 21] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a ru
nning
[ 22] [amxmodx.inc] log_to_f 1.0 Admin adminconnect.am ru
nning
[ 23] Admin ESP 1.5b_mini KoST admin_esp_mini. ru
nning
[ 24] AMX Admin Model 1.1.1 whitemike amx_adminmodel. ru
nning
[ 25] Hook 1.5 LLInH9rA my_hook.amxx ru
nning
[ 26] mgamenu 1.0 iGoogle mgamenu.amxx de
bug
[ 27] Players Menu 1.8.2 AMXX Dev Team Team.amxx ru
nning
[ 28] Admin Gag 1.0 AndrewZ gagmenu_2.amxx ru
nning
[ 29] Camera Changer 1.3 Bl0ck Camera_Changer. ru
nning
[ 30] AFK Bomb Transfer 0.4 VEN afkbombtransfer ru
nning
[ 31] Custom Smoke 1.0 xPaw, Justick custom_smoke.am ru
nning
[ 32] Fix AutoBuy Bug 1.1 PomanoB & UFPS.T autobuyfix.amxx ru
nning
[ 33] Anti Fullupdate Spam 2.0 Pike anti_fullupdate ru
nning
[ 34] Admin Chat 1.8.2 AMXX Dev Team adminchat.amxx ru
nning
[ 35] FreeAmmoEveryRound 0.1 SHLAKBAUM freeammoeveryro ru
nning
[ 36] roundsound 0.1 many roundsound.amxx ru
nning
[ 37] Bomb Timer 3.2 Twe3k Bomb_DhuD.amxx ru
nning
[ 38] Maps Menu 1.4.1 neugomon mapsmenu.amxx ru
nning
[ 39] FreeAmmoEveryRound 0.1 SHLAKBAUM Vipgranet.amxx ru
nning
[ 40] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx ru
nning
[ 41] FPS Meter 1.1 neygomon fps.amxx ru
nning
[ 42] Admin Prefixes 3.0 m0skVi4a ;] AdminPrefixes.a ru
nning
[ 43] Reset Score 0.2 Silenttt / CepeH RESET_SCORE_V0. ru
nning
[ 44] Restrict Weapons 1.8.1.3746 AMXX Dev Team restmenu.amxx ru
nning
[ 45] Parachute 1.3 KRoT@L/JTP10181 amx_parachute.a ru
nning
[ 46] Block All Adverts 1.3 neygomon block_all_adver ru
nning
[ 47] Hostage no death T 1.0 Brute hostage_no_deat ru
nning
[ 48] AFK Kicker 1.0b Cheesy Peteza afkkicker.amxx ru
nning
[ 49] WeaponMenu 1.0 UNREAL weaponmenu.amxx ru
nning
[ 50] Damager 1.0 Prayer damager.amxx ru
nning
[ 51] mute menu 1.0 cheap_suit mutemenu.amxx ru
nning
[ 52] VIP Score Board 1.0 Leo_[BH] vip_score_board ru
nning
[ 53] VIP KNIFE 1.1 Sashqqa_[18rus] VIPKNIFE.amxx de
bug
53 plugins, 53 running
Автор плагина
whitemike
Версия плагина
1.1.1
Исходный код
#include <amxmodx>
#include <amxmisc>
#include <cstrike>

public plugin_init() {
register_plugin("AMX Admin Model", "1.1.1", "whitemike")
register_event("ResetHUD", "resetModel", "b")
return PLUGIN_CONTINUE
}

public plugin_precache() {
precache_model("models/player/admin_c/admin_c.mdl")
precache_model("models/player/admin_t/admin_t.mdl")

return PLUGIN_CONTINUE
}

public resetModel(id, level, cid) {
if (get_user_flags(id) & ADMIN_KICK) {
new CsTeams:userTeam = cs_get_user_team(id)
if (userTeam == CS_TEAM_T) {
cs_set_user_model(id, "admin_t")
}
else if(userTeam == CS_TEAM_CT) {
cs_set_user_model(id, "admin_c")
}
else {
cs_reset_user_model(id)
}
}

return PLUGIN_CONTINUE
}
Здраствуйте, есть плагин модели для админов, работает все кроме модели кт, в чём может быть проблема? Ошибак в логах по плагину нету, путь для моделей прописан верно(много раз проверил)
 
Сообщения
1,698
Реакции
1,510
Помог
26 раз(а)
Неправильный хук (костыль), неправильная логика ресета модели. По поводу кт, попробуй без других плагинов.
 

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

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