• Регистрация на форуме отключена.
    Она будет открываться первого числа каждого месяца на 24 часа.

    Если необходимо - пишите админу группы Dev-CS в Telegram-чате.

при убийстве тимейта забирает деньги

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
18
Реакции
-3
Ошибка
ошибки лог нету
ОС
Linux
Amx Mod X
AMX Mod X 1.9.0.5263 (http://www.amxmodx.org)
Билд
Build date: 18:22:55 Nov  8 2020 (2402)
ReGamedll
ReGameDLL version: 5.20.0.492-dev
Версия Metamod
Metamod-r v1.3.0.128, API (5:13)
Список метамодулей
[ 1] AMX Mod X        RUN   -    amxmodx_mm_i386.so          v1.9.0.5263      ini  Start ANY  
[ 2] Reunion RUN - reunion_mm_i386.so v0.1.92d ini Start Never
[ 3] Rechecker RUN - rechecker_mm_i386.so v2.5 ini Chlvl ANY
[ 4] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 5] POD-Bot mm RUN - podbot_mm_i386.so vV3B22b ini Chlvl ANY
[ 6] VoiceTranscoder RUN - VoiceTranscoder.so v2017RC5 ini ANY ANY
[ 7] WHBlocker RUN - whblocker_mm_i386.so v1.5.697 ini Chlvl ANY
[ 8] Fun RUN - fun_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[ 9] Engine RUN - engine_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[10] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[11] GeoIP RUN - geoip_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[12] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[13] CSX RUN - csx_amxx_i386.so v1.9.0.5271 pl1 ANY ANY

[14] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[15] MySQL RUN - mysql_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[16] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl1 ANY Never
[17] CSDM2 RUN - csdm_amxx_i386.so v2.1.3c-KWo pl1 ANY ANY
[18] ReAPI RUN - reapi_amxx_i386.so v5.18.0.203-dev pl1 ANY Never
Список плагинов
[  1] Anti-Ad                 0.1         Mati              antiad.amxx      running  
[ 2] MapConfigX 1.1 AdaskoMX mapconfigx.amxx running
[ 3] AMXBans: Screens Gm 1.6 Larte Team amxbans_ssban.a running
[ 4] AMXBans: Main Gm 1.6 Larte Team amxbans_main.am debug
[ 5] AMXBans: Freeze Gm 1.6 Larte Team amxbans_freeze. running
[ 6] Lite VoteBan 1.4 neygomon lite_voteban.am running
[ 7] AMXBans: Core Gm 1.6 Larte Team amxbans_core.am running
[ 8] AMXBans: Flagged Gm 1.6 Larte Team amxbans_flagged running
[ 9] AES: Informer 0.5 Vega serfreeman1337 aes_informer.am running
[ 10] Stats Configuration 1.9.0.5263 AMXX Dev Team statscfg.amxx running
[ 11] AES: CStrike Addon 0.5 Vega serfreeman1337 aes_exp_cstrike running
[ 12] Advanced Experience Sy 0.5 Vega serfreeman1337 aes_main.amxx running
[ 13] AES: StatsX 0.5 Vega serfreeman1337 aes_statsx_cstr running
[ 14] Prefix Manager 0.1 serfreeman1337 prefixManager.a running

[ 15] Night VIPs Private Racoon, Leo_[BH] night_vips.amxx running
[ 16] Hide Slash Commands 1.0.0 Kreation +mod.le SymbolChat.amxx running
[ 17] Steam Models 0.1b+mod.l Freedo.m steam_models.am running
[ 18] Afk Control 0.4 Stable Freedo.m | neygo afk_control.amx running
[ 19] Admin Spectator ESP 1.3 KoST admin_spec_esp. running
[ 20] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 21] Admin Commands 1.9.0.5263 AMXX Dev Team admincmd.amxx running
[ 22] Admin Help 1.9.0.5263 AMXX Dev Team adminhelp.amxx running
[ 23] Slots Reservation 1.9.0.5263 AMXX Dev Team adminslots.amxx running
[ 24] Multi-Lingual System 1.9.0.5263 AMXX Dev Team multilingual.am running
[ 25] Menus Front-End 1.9.0.5263 AMXX Dev Team menufront.amxx running
[ 26] Commands Menu 1.9.0.5263 AMXX Dev Team cmdmenu.amxx running
[ 27] Players Menu 1.9.0.5263 AMXX Dev Team plmenu.amxx running
[ 28] Teleport Menu 1.9.0.5263 AMXX Dev Team telemenu.amxx running
[ 29] Plugin Menu 1.9.0.5263 AMXX Dev Team pluginmenu.amxx running

[ 30] Admin Chat 1.9.0.5263 AMXX Dev Team adminchat.amxx running
[ 31] Anti Flood 1.9.0.5263 AMXX Dev Team antiflood.amxx running
[ 32] Scrolling Message 1.9.0.5263 AMXX Dev Team scrollmsg.amxx running
[ 33] Info. Messages 1.9.0.5263 AMXX Dev Team imessage.amxx running
[ 34] Admin Votes 1.9.0.5263 AMXX Dev Team adminvote.amxx running
[ 35] TimeLeft 1.9.0.5263 AMXX Dev Team timeleft.amxx running
[ 36] CS Shop 5.0 iNeedHelp CS_Shop_n.amxx running
[ 37] Build Dispenser #1.0.3 tuty BuildDispenser_ running
[ 38] MoneyTransfer 0.3 ZETA [M|E|N] money_transfer_ running
[ 39] Admin Rich 1.0 Emilioneri admin_rich_with debug
[ 40] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 41] Reset Score 1.0 Silenttt resetscore.amxx running
[ 42] CSDM Auto Balance 1.0 xPaw csdm_auto_balan running
[ 43] Weapon Menu 1.0 Mattcook & xerob weaponmenu_rus. running
[ 44] GunGame AMMO 2.2 Prayer gg_ammo.amxx running

[ 45] Ultimate Gore 1.6 JTP10181 amx_gore_ultima running
[ 46] Super Bunny Hopper 1.2 Cheesy Peteza bhop.amxx running
[ 47] Bullet Damage 0.0.1 ConnorMcLeod bullet_damage.a running
[ 48] MultiJump 1.1 Solo[59rus] multijump_with_ running
[ 49] Vampire 1.0c Shalfey vampire3+vip.am running
[ 50] Grenade Trail 1.0 Jim grenade_trail.a running
[ 51] Sentry CSDM Menu 1.0 sap273 amx_sentry_menu running
[ 52] Sentry CSDM Menu 1.0 sap273 amx_sentry_menu running
[ 53] AMX Admin Model 1.1.1 whitemike amx_adminmodel. running
[ 54] Blue Fade 0.1 Stimul Blue_Fade.amxx running
[ 55] Golden Ak 47 1.0 AlejandroSk GoldenAk_ul.amx running
[ 56] Automatic Unstuck 1.5 NL)Ramon(NL stuck.amxx running
[ 57] Spec Switch 0.2.2 many dm_spec.amxx running
[ 58] SF TripMine 0.3.4 serfreeman1337 sfTripMine_FIX_ running
[ 59] DeagsMapManager 3.25Beta Deags/AMXX Commu deagsmapmanager running

[ 60] Maps Menu 1.9.0.5263 AMXX Dev Team mapsmenu.amxx running
[ 61] Golden M4A1 1.0 Alicx DarK GoldenM4a1_ul.a running
[ 62] VIP CSDM 1.0 Godzilla csdm_vipmenu_27 running
[ 63] Unlimited Clip v 1.0 Sap unlimited_clip_ running
[ 64] Kill Rewards 1.4 HoLLyWooD kill_rewards.am running
[ 65] WalkGuard 1.3.2 mogel walkguard.amxx running
[ 66] Knife Scratch 1.0 PahanCS KnifeScratch.am running
[ 67] All Chat 1.1 Ian Cammarata allchat.amxx running
[ 68] No Radio Flood 1.1 Starsailor no_radio_flood. running
[ 69] Unlimited Team Changes 1.3 HamletEagle unlimited_teamc running
[ 70] silentnades 1.0 regalis silent_nades.am running
[ 71] Test dhud_message_te running
[ 72] effect day/night 1.3 Destro day_night.amxx running
[ 73] Block name change 1.0 grankee changename.amxx running
[ 74] Unlimited Money 2.0 NL)Ramon(NL unlimited_money running

[ 75] Sentry guns 1.1 JGHG & miRror sentryguns_ul_2 running
[ 76] Connect Exec 1.0 AleX connect_exec.am running
[ 77] Knife Double Frags 0.3 Rul4 kdf_ul.amxx running
[ 78] Golden AWP 1.1 Anonymousstar goldenawp_ul.am running
[ 79] Auto recording demo 2.0 IzI | Bonaqua (R amx_autodemorec running
[ 80] plugin_trail 1.3.1 Bahrmanou plugin_trail.am running
[ 81] Change Team 1.1 neygomon & Alien changeteam.amxx running
[ 82] x x x map.amxx running
[ 83] say /motd 1.1 Pa1n say_motd.amxx running
[ 84] AntiFlash FINAL 5.0 Leo_[BH] antiflash5.amxx running
[ 85] Kill Money 0.1.1 ConnorMcLeod kill_money.amxx running
[ 86] ReChecker Logging 1.0 custom rc_logging.amxx running
[ 87] Golden Deagle 1.6 AlejandroSk deaglegold_ul.a running
[ 88] Game Namer 1.1 NeuroToxin gamenamechanger running
[ 89] [ReAPI] Healthnade 0.0.2 [email protected] reapi_healthnad running

[ 90] Ultimate Chats Control 5.2(c) neygomon ucc.amxx running
[ 91] unknown unknown unknown ucc_api_example running
[ 92] UCC Addon: VoteGAG 1.2 neygomon ucc_votegag.amx running
[ 93] Advanced Weapon Tracer 1.3.0 ConnorMcLeod advanced_weapon running
[ 94] CSDM Main 3.6 CSDM Team csdm_main.amxx running
[ 95] ReCSDM Equip 3.6 ReCSDM Team csdm_equip.amxx debug
[ 96] CSDM Spawns 3.6 CSDM Team csdm_spawn_pres running
[ 97] CSDM Misc 3.6 CSDM Team csdm_misc.amxx running
[ 98] CSDM Protection 3.6 BAILOPAN csdm_protection running
[ 99] CSDM Item Mode 2.1.3d FALUCO & KWo & S csdm_itemmode.a debug
Автор плагина
ConnorMcLeod
Версия плагина
0.1.1
Исходный код
/*	Formatright © 2010, ConnorMcLeod

Kill Money is free software;
you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Kill Money; if not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/

#include <amxmodx>
#include <cstrike>
#include <fakemeta>

#define VERSION "0.1.1"

enum
{
DeathMsg_KillerID = 1, // byte
DeathMsg_VictimID, // byte
DeathMsg_IsHeadshot, // byte
DeathMsg_TruncatedWeaponName // string
}

#define Money_Amount 1

new g_iMaxPlayers
#define IsPlayer(%1) ( 1 <= %1 <= g_iMaxPlayers )

#define XTRA_OFS_PLAYER 5
#define m_iAccount 115
#define cs_set_money_value(%1,%2) set_pdata_int(%1, m_iAccount, %2, XTRA_OFS_PLAYER)

new g_pCvarKillMoney, g_pCvarTkMoney, g_pCvarMaxMoney, g_pCvarKillMoneyHs

new g_iNewMoney
new g_iMsgHookMoney
new gmsgMoney

public plugin_init()
{
register_plugin("Kill Money", VERSION, "ConnorMcLeod")

g_pCvarKillMoney = register_cvar("amx_kill_money", "300")
g_pCvarKillMoneyHs = register_cvar("amx_kill_money_hs", "300")
g_pCvarTkMoney = register_cvar("amx_teamkill_money", "0")
g_pCvarMaxMoney = register_cvar("amx_killmoney_maxmoney", "200000")

register_event("DeathMsg", "Event_DeathMsg", "a")

g_iMaxPlayers = get_maxplayers()
gmsgMoney = get_user_msgid("Money")

}

public Event_DeathMsg()
{
new iKiller = read_data(DeathMsg_KillerID)
if( IsPlayer(iKiller) && is_user_connected(iKiller) )
{
new iVictim = read_data(DeathMsg_VictimID)
if( iVictim != iKiller )
{
g_iNewMoney = clamp
(
cs_get_user_money(iKiller) + get_pcvar_num( cs_get_user_team(iVictim) == cs_get_user_team(iKiller) ? g_pCvarTkMoney : (read_data(DeathMsg_IsHeadshot) ? g_pCvarKillMoneyHs : g_pCvarKillMoney) ),
0,
get_pcvar_num(g_pCvarMaxMoney)
)
g_iMsgHookMoney = register_message(gmsgMoney, "Message_Money")
}
}
}

public Message_Money(iMsgId, iMsgDest, id)
{
unregister_message(gmsgMoney, g_iMsgHookMoney)
cs_set_money_value(id, g_iNewMoney)
set_msg_arg_int(Money_Amount, ARG_LONG, g_iNewMoney)
}
Здравствуйте установил плагин чтоб при убийстве тимейта чтоб не забирало -3300$,плагин не помогает есть ли вариант как ее убрать? -3300$ прикрепил скриншоты
 
В этой теме было размещено решение! Перейти к решению.

Download all Attachments

Сообщения
204
Реакции
58
Помог
7 раз(а)
Money Rewards

Код:
//
//   Деньги начисляемые за убийство союзника.
//   По умолчанию: -3300
//
mr_teammates_killed -3300
 
Статус
В этой теме нельзя размещать новые ответы.

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

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