WhoseTheWeapon

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
165
Реакции
-8
Ошибка
пропала анимация моделей + звуки стрельбы
ОС
Linux
Amx Mod X
AMX Mod X 1.9.0.5271 (http://www.amxmodx.org)
Билд
ReHLDS version: 3.7.0.696-dev
ReGamedll
ReHLDS version: 3.7.0.696-dev
Версия Metamod
Metamod-r v1.3.0.128, API (5:13)
Список метамодулей
1] AMX Mod X RUN- amxmodx_mm_i386.so v1.9.0.5271ini Start ANY
[ 2] Reunion RUN- reunion_mm_i386.so v0.1.0.92c ini Start Never
[ 3] VoiceTranscoder RUN- VoiceTranscoder.so v2017RC5ini ANYANY
[ 4] ReSemiclip RUN- resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 5] WHBlocker RUN- whblocker_mm_i386.sov1.5.697ini Chlvl ANY
[ 6] Ham Sandwich RUN- hamsandwich_amxx_i386.so v1.9.0.5271pl1 ANYANY
[ 7] FakeMetaRUN- fakemeta_amxx_i386.so v1.9.0.5271pl1 ANYANY
[ 8] ReAPIRUN- reapi_amxx_i386.so v5.15.0.197-dev pl1 ANYNever
[ 9] CStrike RUN- cstrike_amxx_i386.sov1.9.0.5271pl1 ANYANY
[10] CSX RUN- csx_amxx_i386.so v1.9.0.5271pl1 ANYANY
[11] Engine RUN- engine_amxx_i386.so v1.9.0.5271pl1 ANYANY
[12] Fun RUN- fun_amxx_i386.so v1.9.0.5271pl1 ANYANY
Список плагинов
WhoseTheWeapon.amxx
Автор плагина
Yek'-ta
Версия плагина
2.1
Исходный код
#include <amxmodx>
#include <reapi>

#if !defined client_print_color || !defined MAX_NAME_LENGTH
#error NOTSUPPORT AMXX < 1.8.3!
#endif

#define _GetItemInfo_iId(%1) rg_get_iteminfo(%1, ItemInfo_iId)
#define _SetItemInfo_iId(%1,%2) rg_set_iteminfo(%1, ItemInfo_iId, %2)

const UNQUEID = 32; //minimum 32, because of there are max. 32 item ids.

public plugin_init()
{
register_plugin("Whose the weapon?", "2.1", "Yek'-ta");
RegisterHookChain(RG_CBasePlayer_AddPlayerItem, "CBasePlayer_AddPlayerItem", .post = true);

register_dictionary("WhoseTheWeapon.txt");
}

public CBasePlayer_AddPlayerItem(pPlayer, pItem)
{
if(_GetItemInfo_iId(pItem) < UNQUEID){
_SetItemInfo_iId(pItem, get_user_userid(pPlayer) + UNQUEID);
return;
}

static piId, szName[MAX_NAME_LENGTH], szItemName[16];
piId = _GetItemInfo_iId(pItem) - UNQUEID;

if(get_user_userid(pPlayer)==piId){
rg_get_iteminfo(pItem, ItemInfo_pszName, szItemName, charsmax(szItemName));

client_print_color(pPlayer, pPlayer, "%L", LANG_PLAYER, "WHOY", szItemName[7]);
return;
}

for (new i = 1; i <= MAX_CLIENTS; i++){
if(get_user_userid(i)==piId && is_user_connected(i)){
get_user_name(i, szName, charsmax(szName));
rg_get_iteminfo(pItem, ItemInfo_pszName, szItemName, charsmax(szItemName));

client_print_color(pPlayer, i, "%L", LANG_PLAYER, "WHOM", szItemName[7], szName);
return;
}
}
return;
}
ставлю плагин нету дефолтной анимации оружий и пропали звуки, модели стандартные, причем у всего сервера
 
В этой теме было размещено решение! Перейти к решению.
Сообщения
1,536
Реакции
2,324
Помог
39 раз(а)
Полностью показывайте список плагинов
 
Сообщения
165
Реакции
-8
Tranquillity,
Код:
 1] UCP Server 8.5Endi ucp.amxxrunning
[ 2] Admin Base 1.8.1.3746 AMXX Dev Team admin.amxx running
[ 3] Admin Commands 1.9.0.5271 AMXX Dev Team admincmd.amxx running
[ 4] Slots Reservation 1.9.0.5271 AMXX Dev Team adminslots.amxx running
[ 5] Players Menu1.7neugomon players_menu.am running
[ 6] AMXMODMENU STRIKE TEA SCHOCKKTOLOGY.DE menufront.amxxrunning
[ 7] amx_kickmenu reasons a 0.3a BetaFlash kickmenu_reason running
[ 8] Maps Menu1.4.1 neugomon mapsmenu.amxx running
[ 9] Map Manager 2.5.61Mistrick mapmanager.amxx running
[ 10] Admin Chat 1.9.0.5271 AMXX Dev Team adminchat.amxxrunning
[ 11] Anti Flood 1.9.0.5271 AMXX Dev Team antiflood.amxxrunning
[ 12] Stats Configuration 1.9.0.5271 AMXX Dev Team statscfg.amxx running
[ 13] StatsX (MastaMan Editi 1.9.0.5263 AMXX Dev Team &statsx_shell.am debug
[ 14] Items Restrict 1.1s1lentitems_restrict. running
[ 15] UCP Menu 2.1STEVE ucp_menu.amxx running
[ 16] [ReAPI] AdminFreeLook1.0ReHLDS Team adminfreelook.a running
[ 17] Anti-Ad 0.1Mati antiad.amxxrunning
[ 18] Advanced Gag1.9.0 neygomon amx_gag.amxx running
[ 19] Admin Prefixes 4.1m0skVi4a ;] AdminPrefixes.a running
[ 20] True dmg stats 1.0by4udilo TopTrueDmg.amxx running
[ 21] Killer Bonus0.1def4u1t Round_Kill_Bonu running
[ 22] HEADSHOT EFFECTSTRIKE.UZSCHOCKKTOLOGY.DE Headshot_Effect running
[ 23] C4 Timer 0.1Lightman bombtimer.amxxrunning
[ 24] DM Block 1.0blockradio.amxx running
[ 25] [ReAPI] Best player of 1.1.2 F@nt0Mbest_player_of_ running
[ 26] Reset Score 0.0.2fwopox1337ResetScore.amxx running
[ 27] Free VIP 0.1XTCS night_vips.amxx running
[ 28] Reklama 20.05.2020 mx?! reklama.amxx running
[ 29] Parachute Lite [ReAPI] 11.0 Leo_[BH] parachute.amxxrunning
[ 30] Admin, Vip and Lady mo 0.3b Freedo.m +mod.Le Strike_Skins.am running
[ 31] Weapon Kill 1.2Slove. & AcEKnife_Sound.amx running
[ 32] xREDIRECT1.0.3.3 x0Rxredirect.amxxrunning
[ 33] InName Combo Kills0.0.2 wopox1337InName_Combo_Ki running
[ 34] Save score & money1.3.7 Minni Mouse Save_Score_Mone running
[ 35] Advanced Kill Assists1.3a Xelsonkill_assist.amx running
[ 36] GameName Wins 1.0.4 twisterniq gamename_wins.a running
[ 37] Drop Pistols on Death0.0.4 Vaqtinchadead_pistols.am running
[ 38] Anti reconnect 3.0JohnJ antireconnect.a running
[ 39] [ReAPI] No Team Flash0.0.3 Vaqtinchano_team_flash.a running
[ 40] Ping Control1.31 neygomon Ping_Control.am running
[ 41] AFK Control 1.4.1 [Rnd neygomon afk_control.amx ru
 
Сообщения
165
Реакции
-8
проблему решили , тему можно закрывать
 
Статус
В этой теме нельзя размещать новые ответы.

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

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