Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
- Ошибка
-
Конфликт с плагином
- ОС
- Linux
- Билд
-
1348
- ReGamedll
-
5.3.0.279-dev
- Список метамодулей
-
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] Reunion RUN - reunion_mm_i386.so v0.1.75 ini Start Never
[ 2] AMX Mod X RUN - amxmodx_mm_i386.so v1.8.3-Re ini Start ANY
[ 3] VoiceTranscoder RUN - VoiceTranscoder.so v2017RC3 ini ANY ANY
[ 4] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 5] ReSRDetector RUN - resrdetector_mm_i386.so v0.1.0 ini Chlvl ANY
[ 6] WHBlocker RUN - whblocker_mm_i386.so v1.5.695 ini Chlvl ANY
[ 7] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 8] Rechecker RUN - rechecker_mm_i386.so v2.5 ini Chlvl ANY
[ 9] MySQL RUN - mysql_amxx_i386.so v1.8.3-Re pl2 ANY ANY
[10] Fun RUN - fun_amxx_i386.so v1.8.3-Re pl2 ANY ANY
[11] FakeMeta RUN - fakemeta_amxx_i386.so v1.8.3-Re pl2 ANY ANY
[12] CStrike RUN - cstrike_amxx_i386.so v1.8.3-Re pl2 ANY ANY
X[13] CSX RUN - csx_amxx_i386.so v1.8.3-Re pl2 ANY ANY [14] VTC AMXX API RUN - VtcApi_amxx_i386.so v2017 RC pl2 ANY ANY
[15] ReAPI RUN - reapi_amxx_i386.so v5.2.0.142-dev pl2 ANY Never
[16] Engine RUN - engine_amxx_i386.so v1.8.3-Re pl2 ANY ANY
[17] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.8.3-Re pl2 ANY ANY
[18] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl2 ANY Never
18 plugins, 18 running
- Список плагинов
-
Currently loaded plugins:
name version author file status
[ 1] AIM detector 0.9.4.1b kanagava aim_detector.am running
[ 2] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 3] FreshBans 1.3.8b kanagava fresh_bans_138_ running
[ 4] GameCMS_API 4.4.8.9 zhorzh78 gamecms_api_4.4 running
[ 5] GameCMS_GagManager 1.4 zhorzh78 gamecms_gagmana running
[ 6] Level System 1.1.4 Mini1 level_system.am running
[ 7] client_buy forward 0.1.1 ConnorMcLeod client_buy.amxx running
[ 8] [ReAMX] Chat RBS 18.02.11BE SKAJIbnEJIb chat_rbs.amxx running
[ 9] [ReAMX] VIP RBS 18.03.02BE SKAJIbnEJIb vip_rbs.amxx running
[ 10] [ReAMX] Ultimate Weapo 17.08.28 SKAJIbnEJIb ultimate_weapon running
[ 11] [ReAMX] Ultimate Knife 18.03.24 SKAJIbnEJIb ultimate_knife. running
[ 12] [ReAMX] CsStats MySQL 18.02.11BE SKAJIbnEJIb csstats_mysql.a running
[ 13] [ReAMX] Stats Configur 17.10.30 SKAJIbnEJIb & AM statscfg_rbs.am running
X[ 14] [ReAMX] StatsX RBS 18.02.11BE SKAJIbnEJIb & AM statsx_rbs.amxx running [ 15] Menus Front-End 18.03.02BE AMXX Dev Team & amxmodmenu_rbs. running
[ 16] [ReAMX] Damager RBS 17.08.11 SKAJIbnEJIb damager_rbs.amx running
[ 17] [ReAMX] Screen Player 17.08.11 SKAJIbnEJIb screen_player.a running
[ 18] [ReAMX] Top Award RBS 17.08.20 SKAJIbnEJIb topaward_rbs.am running
[ 19] No Team Flash 15.07.15 SKAJIbnEJIb NoTeamFlash.amx running
[ 20] Map Manager 2.5.61 Mistrick mapmanager.amxx running
[ 21] Admin Commands 1.8.3-Re AMXX Dev Team admincmd.amxx running
[ 22] New Kick Menu 1.3.7 Radius newkickmenu.amx running
[ 23] Maps Menu 1.8.3-Re AMXX Dev Team mapsmenu.amxx running
[ 24] Commands Menu 1.8.3-Re AMXX Dev Team cmdmenu.amxx running
[ 25] Players Menu 1.8.3-Re AMXX Dev Team plmenu.amxx running
[ 26] Anti Flood 1.8.3-Re AMXX Dev Team antiflood.amxx running
[ 27] TimeLeft 1.8.3-Re AMXX Dev Team timeleft.amxx running
[ 28] Block Reconnect Respaw 15.07.15 ShaTalKiN Block_Reconnect running
X[ 29] Map Spawns Editor RBS 15.07.15 iG_os & SKAJIbnE MapSpawnsEditor running [ 30] DHUD Advert. 2.0 DUKKHAZ0R dhud_advert.amx running
[ 31] Stop the Bastards 1.6.6 F@nt0M stop_the_bastar running
[ 32] Multiple Game Names 1.0 M1 TEAM Multiple_Game_N running
[ 33] Advert Messages 1.3 neygomon | Radiu advert_messages running
[ 34] Money 0.1 Mini1 money.amxx running
[ 35] Parachute 1.0 Mini1 parachute.amxx running
[ 36] Reset Score 1.0 Mini1 resetscore.amxx running
[ 37] WeaponMenu 1.1 Mini1 weaponmenu.amxx running
[ 38] Demo Record 1.0 Nesquik demo.amxx running
[ 39] Flags Menu 1.0 M1 TEAM flags_menu.amxx running
[ 40] [ReAPI] AWPoff 1.4.3 PAffAEJIkA :3 awp_off.amxx running
[ 41] awp_india Weapon Giver 0.4 Makenzo awp_fix.amxx running
[ 42] Bomb Timer 3.2 Twe3k plent_bomb.amxx running
[ 43] AC Spectator ESP 16.11.25 SKAJIbnEJIb & Ko ac_esp.amxx running
X[ 44] Motds 1.0 Freedo.m motd.amxx running [ 45] Weapon Icon 1.0 Mini1 weapon_icon.amx running
[ 46] AFK Control 1.4.1 [Rnd neygomon afk_control.amx running
[ 47] [ReAPI] Best player of 0.6 F@nt0M best_player.amx running
[ 48] Fake Ping 1.1 MeRcyLeZZ/gyxoBk FakePing.amxx running
[ 49] Block grande info 1.0 DoswIDos_ BlockGrenadeInf running
[ 50] Mini Sound Esp Fix 1.0 ranget fix.amxx running
[ 51] Kill Manager Sound 1.3 ShaTalKiN kmansound.amxx running
[ 52] HS Blood 1.2 M1 TEAM hs_blood.amxx running
[ 53] WinTeam Sprite 0.0.8 Some Scripter WinTeam_Sprite. running
53 plugins, 53 running
- Исходный код
-
/* Раскомментируйте, если вы используете ZombieMod версию. */
//#define USE_ON_ZM
/* Затемнять ли экран? */
#define FADE_SCREEN
/*Скрывать ли прицел*/
#define HIDE_CROSSHAIR
/*Показывать ли ничью*/
#define ROUND_DRAW_SHOW
#if defined ROUND_DRAW_SHOW
#define ROUND_DRAW_TYPE 0 //0 - random, >0 - static
#if ROUND_DRAW_TYPE > 0
#define ROUND_DRAW_SPR_NUMBER 1 // Sprite number, aviable 1 & 64 states
// #define ROUND_DRAW_SPR_NUMBER 64
#endif
#endif
#include <amxmodx>
#if defined USE_ON_ZM
#include <zombieplague>
#endif
#define CSW_KNIFE 29
#define CSW_SHIELD 2
#define DEFAULT_FOV 90
new bool:g_bSomeBool, g_iRoundState;
enum _:ROUNDWIN_States {
ROUND_DRAW = 0,
ROUND_WIN_T,
ROUND_WIN_CT
}
enum _:MESSAGES {
g_iMsg_WeaponList,
#if defined FADE_SCREEN
g_iMsg_ScreenFade,
#endif
g_iMsg_CurWeapon,
g_iMsg_ForceCam,
#if defined HIDE_CROSSHAIR
g_iMsg_SetFOV,
g_iMsg_HideWeapon
#else
g_iMsg_SetFOV
#endif
}
new g_Messages_Name[MESSAGES][] = {
"WeaponList",
#if defined FADE_SCREEN
"ScreenFade",
#endif
"CurWeapon",
"ForceCam",
#if defined HIDE_CROSSHAIR
"SetFOV",
"HideWeapon"
#else
"SetFOV"
#endif
}
new g_Messages[MESSAGES];
new g_Sprites[][] = {
#if defined ROUND_DRAW_SHOW
"sprites/winteam_round_draw_t.txt",
"sprites/winteam_round_draw.spr",
#endif
#if !defined USE_ON_ZM
"sprites/z_aufff_fmaledevcsrus.txt",
#else
"sprites/zombie_win_sz.txt",
#endif
"sprites/640hud11.spr",
"sprites/640hud10.spr",
"sprites/640hud7.spr",
#if !defined USE_ON_ZM
"sprites/winteam_fmaledevcsrus.spr"
#else
"sprites/zombie_win_uniq.spr"
#endif
}
#if defined USE_ON_ZM
new const CMD[] = "zombie_win_sz";
#else
new const CMD[] = "z_aufff_fmaledevcsrus";
#endif
#if defined ROUND_DRAW_SHOW
new const CMD_DRAW[] = "winteam_round_draw_t"
#endif
public plugin_precache(){
for(new i; i < sizeof(g_Sprites); i++)
precache_generic(g_Sprites[i]);
}
public plugin_init(){
register_plugin("WinTeam Sprite", "0.0.8", "Some Scripter");
register_clcmd(CMD,"FakeSwitch");
#if defined ROUND_DRAW_SHOW
register_clcmd(CMD_DRAW,"FakeSwitch");
#endif
register_event("HLTV", "Event_NewRound","a","1=0","2=0");
#if !defined USE_ON_ZM
register_event("SendAudio", "Event_CTWin","a","2=%!MRAD_ctwin");
register_event("SendAudio", "Event_TerroristWin","a","2=%!MRAD_terwin");
register_event("SendAudio", "Event_Draw","a","2=%!MRAD_rounddraw");
#endif
for(new i; i < sizeof(g_Messages); i++){
g_Messages[i] = get_user_msgid(g_Messages_Name[i]);
register_message(g_Messages[i], "block");
}
}
#if defined USE_ON_ZM
public zp_round_ended(winteam){
switch(winteam){
case WIN_NO_ONE:{
g_iRoundState = ROUND_DRAW;
#if defined ROUND_DRAW_SHOW
StartDraw();
#endif
}
case WIN_ZOMBIES:{
g_iRoundState = ROUND_WIN_T;
StartDraw();
}
case WIN_HUMANS:{
g_iRoundState = ROUND_WIN_CT;
StartDraw();
}
}
}
#else
public Event_CTWin(){
g_iRoundState = ROUND_WIN_CT;
StartDraw();
}
public Event_TerroristWin(){
g_iRoundState = ROUND_WIN_T;
StartDraw();
}
public Event_Draw(){
g_iRoundState = ROUND_DRAW;
#if defined ROUND_DRAW_SHOW
StartDraw();
#endif
}
#endif
public Event_NewRound(){
#if !defined ROUND_DRAW_SHOW
if(!g_iRoundState)return;
g_iRoundState = ROUND_DRAW;
#endif
g_bSomeBool = false;
#if defined FADE_SCREEN
Msg_ScreenFade(1500,700,1,0,0,0,230);
#endif
#if defined HIDE_CROSSHAIR
Msg_HideWeapon(0);
#endif
Msg_WeaponList("weapon_knife",-1,-1,-1,-1,2,1,CSW_KNIFE,0);
Msg_CurWeapon(0,0,0);
}
public block(){
if(g_bSomeBool)return PLUGIN_HANDLED;
return PLUGIN_CONTINUE;
}
public FakeSwitch(const client)engclient_cmd(client,"weapon_shield");
public sendweapon(){
switch(g_iRoundState){
#if defined ROUND_DRAW_SHOW
case ROUND_DRAW: Msg_WeaponList(CMD_DRAW,-1,-1,-1,-1,0,11,CSW_SHIELD,0);
#endif
case ROUND_WIN_CT: Msg_WeaponList(CMD,-1,-1,-1,-1,0,11,CSW_SHIELD,0);
case ROUND_WIN_T: Msg_WeaponList(CMD,-1,-1,-1,-1,0,11,CSW_SHIELD,0);
}
#if defined HIDE_CROSSHAIR
Msg_HideWeapon(64);
#endif
Msg_SetFOV(DEFAULT_FOV-1);
g_bSomeBool = false;
switch(g_iRoundState){
#if defined ROUND_DRAW_SHOW
#if ROUND_DRAW_TYPE > 0
case ROUND_DRAW: Msg_CurWeapon(ROUND_DRAW_SPR_NUMBER,2,-1);
#else
case ROUND_DRAW: Msg_CurWeapon(random_num(0,1)*63+1,2,-1);
#endif
#endif
case ROUND_WIN_CT: Msg_CurWeapon(1,2,-1);
case ROUND_WIN_T: Msg_CurWeapon(64,2,-1);
}
g_bSomeBool = true;
Msg_SetFOV(DEFAULT_FOV);
}
public StartDraw(){
#if defined FADE_SCREEN
Msg_ScreenFade(9048,11480,1,0,0,0,230);
#endif
g_bSomeBool = true;
set_task(0.6,"sendweapon");
}
stock Msg_WeaponList(const WeaponName[],PrimaryAmmoID,PrimaryAmmoMaxAmount,SecondaryAmmoID,SecondaryAmmoMaxAmount,
SlotID,NumberInSlot,WeaponID,Flags){
message_begin(MSG_ALL,g_Messages[g_iMsg_WeaponList], .player = 0);
{
write_string(WeaponName);
write_byte(PrimaryAmmoID);
write_byte(PrimaryAmmoMaxAmount);
write_byte(SecondaryAmmoID);
write_byte(SecondaryAmmoMaxAmount);
write_byte(SlotID);
write_byte(NumberInSlot);
write_byte(WeaponID);
write_byte(Flags);
}
message_end();
}
#if defined FADE_SCREEN
stock Msg_ScreenFade(Duration,HoldTime,Flags,ColorR,ColorG,ColorB,Alpha){
message_begin(MSG_ALL,g_Messages[g_iMsg_ScreenFade], .player = 0);
{
write_short(Duration);
write_short(HoldTime);
write_short(Flags);
write_byte(ColorR);
write_byte(ColorG);
write_byte(ColorB);
write_byte(Alpha);
}
message_end();
}
#endif
stock Msg_CurWeapon(IsActive,WeaponID,ClipAmmo)
{
message_begin(MSG_ALL,g_Messages[g_iMsg_CurWeapon], .player = 0);
{
write_byte(IsActive);
write_byte(WeaponID);
write_byte(ClipAmmo);
}
message_end();
}
stock Msg_SetFOV(Degrees){
message_begin(MSG_ALL,g_Messages[g_iMsg_SetFOV], .player = 0);
{
write_byte(Degrees);
}
message_end();
}
#if defined HIDE_CROSSHAIR
stock Msg_HideWeapon(Flags){
message_begin(MSG_ALL,g_Messages[g_iMsg_HideWeapon], .player = 0);
{
write_byte(Flags);
}
message_end();
}
#endif
Здравствуйте , помогите пожалуйста решит конфликт с плагином Ultimate Knife (скалпеля) и WinTeam Sprite 0.0.8
Ошибка в том, что если поставлю WinTeam Sprite, то плагин Ultimate Knife работает не корректно - не идет разминка на ножах. Если закомментировать WinTeam Sprite, то работает, как положено плагин Ultimate Knife (скалпеля) и разминка пойдет на ножах.
Ошибка в том, что если поставлю WinTeam Sprite, то плагин Ultimate Knife работает не корректно - не идет разминка на ножах. Если закомментировать WinTeam Sprite, то работает, как положено плагин Ultimate Knife (скалпеля) и разминка пойдет на ножах.
В этой теме было размещено решение! Перейти к решению.
Последнее редактирование модератором: