Axe Effect

Сообщения
22
Реакции
0
Ошибка
L 12/08/2024 - 19:24:24: [ReAPI] set_member_s: invalid or uninitialized entity
L 12/08/2024 - 19:24:24: [AMXX] Displaying debug trace (plugin "axe_effect.amxx", version "0.0.4")
L 12/08/2024 - 19:24:24: [AMXX] Run time error 10: native error (native "set_member_s")
L 12/08/2024 - 19:24:24: [AMXX] [0] axe_effect.sma::set_properties (line 319)
L 12/08/2024 - 19:24:24: [AMXX] [1] axe_effect.sma::give_axe (line 301)
L 12/08/2024 - 19:24:24: [AMXX] [2] axe_effect.sma::@fw_RG_CBasePlayer_Spawn (line 197)
ОС
Linux
Amx Mod X
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.13.0.788-dev
Build date: 07:36:33 Jul 12 2023 (3378)
Build from: https://github.com/dreamstalker/rehlds/commit/f955b07
Билд
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.13.0.788-dev
Build date: 07:36:33 Jul 12 2023 (3378)
Build from: https://github.com/dreamstalker/rehlds/commit/f955b07
ReGamedll
ReGameDLL version: 5.26.0.668-dev
Build date: 19:02:48 Dec 31 2023
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/d3c0ec8
Версия Metamod
Metamod-r v1.3.0.131, API (5:13)
Metamod-r build: 18:51:02 Jul 11 2022
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/adc9414
Список метамодулей
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] Reunion RUN - reunion.so v0.1.0.137 ini Start Never
[ 2] Rechecker RUN - rechecker.so v2.7 ini ANY
[ 3] ReAuthCheck RUN - reauthcheck.so v0.1.6 ini Start Never
[ 4] Revoice RUN - revoice.so v0.1.0.34 ini Start Never
[ 5] AMX Mod X RUN - amxmodx.so v1.9.0.5294 ini Start ANY
[ 6] ReSemiclip RUN - resemiclip_mm_i386.so v2.4.3 ini ANY
[ 7] YaPB RUN - yapb.so v4.4.957 ini ANY
[ 8] Ultimate Unprecacher RUN - unprecacher_i386.so vBeta 2.5.3 ini Chlvl Chlvl
[ 9] VoiceTranscoder RUN - vtc.so v2017RC5 ini ANY
[10] MySQL RUN - mysql_amxx_i386.so v1.9.0.5294 pl5 ANY ANY
[11] SQLite RUN - sqlite_amxx_i386.so v1.9.0.5294 pl5 ANY ANY
[12] Hide Cvars RUN - hidecvars_amxx_i386.so v1.0 pl5 ANY ANY
[13] CSSB RUN - cssb_amxx_i386.so v6-12.12.2020 pl5 ANY ANY
[14] Engine RUN - engine_amxx_i386.so v1.9.0.5294 pl5 ANY ANY
[15] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5294 pl5 ANY ANY
[16] ReAPI RUN - reapi_amxx_i386.so v5.24.0.300-dev pl5 ANY Never
[17] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5294 pl5 ANY ANY
[18] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5294 pl5 ANY ANY
[19] Fun RUN - fun_amxx_i386.so v1.9.0.5294 pl5 ANY ANY
[20] ReCSDM RUN - csdm_amxx_i386.so v3.6 pl5 ANY ANY
[21] AuthEmu RUN - authemu_amxx_i386.so v5.2.12.431 pl5 ANY Never
[22] CSX RUN - csx_amxx_i386.so v1.9.0.5294 pl5 ANY ANY
[23] GeoIP RUN - geoip_amxx_i386.so v1.9.0.5294 pl5 ANY ANY
[24] SxGeo RUN - sxgeo_amxx_i386.so v2.2 pl5 ANY Never
[25] IPHub Client RUN - iphubclient_amxx_i386.so v1.0.1 pl5 ANY Never
Список плагинов
Currently loaded plugins:
name version author file status
[ 1] [190] AMXBans RBS 24.09.09BE SKAJIbnEJIb & La amxbans_rbs.amx running
[ 2] [190] Vanga Detector 24.12.03 SKAJIbnEJIb & Pr vanga_detector. running
[ 3] GameCMS_API 5.6.3 zhorzh78 gamecms_api_5.6 running
[ 4] [AMXX+GameCMS] Clan Sy 3.4.1 beta Yalta-cs clan_system_t.m debug
[ 5] [ZP] Weapon: Balrog-I 1.0 xUnicorn (t3rkec 1weapon_balrog1 debug
[ 6] [ZP] Weapon: BALROG-V 1.1 Batcoh, xUnicorn 1weapon_balrog5 debug
[ 7] Coins Collector 1.0.1f Baton4ik48 + mx? coins_collector running
[ 8] NickMenu 1.2 mx?! nickmenu.amxx running
[ 9] Custom Snow 1.6 mx?! custom_snow_v3. running
[ 10] AFK Control 1.0 mx?! afk_control.amx running
[ 11] Ping Control 1.5 mx?! ping_control.am running
[ 12] AutoUnstuck for TrackT 0.2 mx?! autounstuck_for running
[ 13] Block DD Spam 1.0 mx?! block_dd_spam.a running
[ 14] ExItem: MegaDeagle 1.4 mx?! exitem_megadeag running
[ 15] ExItem: MegaGrenade 1.5 mx?! exitem_megagren running
[ 16] ExItem: MegaMP5 1.4 mx?! exitem_megamp5. running
[ 17] ExItem: MegaScout 1.4 mx?! exitem_megascou running
[ 18] ExItem: MegaM3 1.4 mx?! exitem_megam3.a running
[ 19] ExItem: MegaAK47 1.4 mx?! exitem_megaak47 running
[ 20] ExItem: MegaAWP 1.4 mx?! exitem_megaawp. running
[ 21] ExItem: MegaFAMAS 1.4 mx?! exitem_megafama running
[ 22] ExItem: Megam4a1 1.4 mx?! exitem_megam4a1 running
[ 23] [ReAPI] Spec Switch 1.0.27 rrricardo spec_switch.amx debug
[ 24] [ReAPI] GameName Chang 0.0.2 rrricardo gamename_change debug
[ 25] Lite Reset Score 1.0.3 rrricardo lite_reset_scor debug
[ 26] Money Bonus 1.0.1 rrricardo dm_bonus_money. debug
[ 27] Anew Transfer System 0.0.3 rrricardo anew_transfer_s debug
[ 28] Bots Equip Manager 2024.09.16 Ragamafona bots_equip_mana running
[ 29] Plugins Core 1.3.0 Radius plugins_core.am running
[ 30] Color Flash Screen 1.6.7 Radius (Stimul i color_flash_scr running
[ 31] Advert Messages 1.5.5 Radius advert_messages running
[ 32] CSO Kill Sounds 1.1.0 Radius (based on cso_kill_sounds running
[ 33] Admin Free Look 1.3.6 Radius admin_free_look running
[ 34] AXE EFFECT 0.0.4 iPlague & WellAs axe_effect.amxx debug
[ 35] Buy: Recoil Manager 1.0 ImmortalAmxx no_recoil.amxx running
[ 36] [ReAPI] Refill Ammo on 0.0.2 steelzzz refill_ammo_on_ running
[ 37] [ReAPI] Hint blocker 0.1.0 F@tn0M reapi_hint_bloc running
[ 38] Team Select 1.6.0 F@nt0M teamselect.amxx running
[ 39] [AMXX] Addon: Floating 1.0.6 Yoshioka Haruki addon_floating_ running
[ 40] Spectator Bot 1.2.2(bata b0t. SpectatorBot.am running
[ 41] WallShotBlocking 2.0 b0t. WallShotBlockin running
[ 42] DM AutoBalance 1.0.0 Nordic Warrior AutoBalance.amx running
[ 43] Rank Menu 1.1 h1k3 rankmenu.amxx running
[ 44] [RZ] Un-Stuck 1.6 NL)Ramon(NL unstuck.amxx running
[ 45] ReloadSoundFix 1.1 Karaulov reloadsound_fix running
[ 46] Unreal Spawn Fixer 1.2 karaulov unreal_spawn_fi running
[ 47] Spawns Fixer 1.3.3.7. fl0wer SpawnsFixer.amx running
[ 48] Models Replacement 0.0.2+fix ConnorMcLeod | V models_replacem running
[ 49] Block Radio Commands 1.0 d3m37r4 block_radiocmd. running
[ 50] AuthEmu API 1.0 Dev-MS Team authemu.amxx running
[ 51] InstaGib: Core 1.3 mx?! instagib_core.a running
[ 52] InstaGib: BonusMenu RB 1.0 mx?! instagib_bonusm running
[ 53] InstaGib: Buying 1.1 mx?! instagib_buying running
[ 54] ReCSDM Main 3.6 ReCSDM Team csdm_main.amxx running
[ 55] ReCSDM Spawns 3.6 ReCSDM Team csdm_spawn_pres running
[ 56] ReCSDM Misc 3.6 ReCSDM Team csdm_misc.amxx running
[ 57] ReCSDM Stripper 3.6 KWo csdm_stripper.a running
[ 58] CSSB Shop Menu CSDM 15.10.2018 SMaster cssbShopMenuCSD debug
[ 59] CSSB Open Menu Cmd 01.03.2016 SMaster cssbOpenMenuCmd debug
[ 60] CSSB Goliath Sentry Gu 24.05.2020 SMaster cssbGoliathSent debug
[ 61] CSSB Dispenser 15.10.2018 SMaster cssbDispenser.a debug
[ 62] CSSB Tesla Coil 15.10.2018 SMaster cssbTeslaCoil.a debug
[ 63] CSSB Destroyer 07.05.2023 SMaster cssbDestroyer.a debug
[ 64] CSSB Theft Money Knife 1.1 SMaster cssbTheftMoneyK debug
[ 65] CSSB Multi Vampire 15.10.2018 SMaster cssbMultiVampir debug
[ 66] CSSB Laser Mines 15.10.2018 SMaster cssbLaserMines. debug
[ 67] CSSB Laser Mines Verti 15.10.2018 SMaster cssbLaserMinesV debug
[ 68] CSSB Laser Mines Horiz 15.10.2018 SMaster cssbLaserMinesH debug
[ 69] CSSB Laser Scanner 15.10.2018 SMaster cssbLaserMinesS debug
[ 70] CSSB Laser Fence 15.10.2018 SMaster cssbLaserFence. debug
[ 71] CSSB Protector Goliath 15.10.2018 SMaster cssbProtectorGo debug
[ 72] CSSB Capture Robot Gol 12.07.2020 SMaster cssbCaptureRobo debug
[ 73] CSSB Spawn Preset Robo 28.03.2016 SMaster cssbSpawnPreset debug
[ 74] CSSB Spawn Preset Capt 03.04.2016 SMaster cssbSpawnPreset debug
[ 75] CSSB Bazooka Gold 11.07.2020 SMaster cssbBazookaGold running
[ 76] CSSB Bazooka 15.10.2018 SMaster cssbBazooka.amx running
[ 77] CSSB Infinite Ammo 17.12.2017 SMaster cssbInfiniteAmm running
[ 78] CSSB All Grenades 17.12.2017 SMaster cssbAllGrenades running
[ 79] CSSB Menu Laser 19.03.2018 SMaster cssbMenuLaser.a running
[ 80] CSSB Menu Bazooka 17.12.2017 SMaster cssbMenuBazooka running
[ 81] CSSB Menu M4A1 10.03.2018 SMaster cssbMenuM4A1.am running
[ 82] CSSB Menu Awp 10.03.2018 SMaster cssbMenuAwp.amx running
[ 83] CSSB Menu Deagle 10.03.2018 SMaster cssbMenuDeagle. running
[ 84] CSSB Menu Ak47 10.03.2018 SMaster cssbMenuAk47.am running
[ 85] CSSB Menu M249 10.03.2018 SMaster cssbMenuM249.am running
[ 86] CSSB Menu Galil 10.03.2018 SMaster cssbMenuGalil.a running
[ 87] CSSB Menu Sg550 10.03.2018 SMaster cssbMenuSg550.a running
[ 88] CSSB AWP Winter 10.03.2018 SMaster cssbAwpWinter.a running
[ 89] CSSB AWP Gold 10.03.2018 SMaster cssbAwpGold.amx running
[ 90] CSSB AWP Golden Dragon 10.03.2018 SMaster cssbAwpGoldenDr running
[ 91] CSSB AWP Hyper Beast 10.03.2018 SMaster cssbAwpHyperBea running
[ 92] CSSB AWP Asiimov 10.03.2018 SMaster cssbAwpAsiimov. running
[ 93] CSSB Deagle Gold 10.03.2018 SMaster cssbDeagleGold. running
[ 94] CSSB Deagle Golden Dra 10.03.2018 SMaster cssbDeagleGolde running
[ 95] CSSB Deagle Asiimov 10.03.2018 SMaster cssbDeagleAsiim running
[ 96] CSSB Ak47 Vulcan 10.03.2018 SMaster cssbAk47Vulcan. running
[ 97] CSSB Ak47 Ice 10.03.2018 SMaster cssbAk47Ice.amx running
[ 98] CSSB Ak47 Beast 10.03.2018 SMaster cssbAk47Beast.a running
[ 99] CSSB Ak47 Paladin 10.03.2018 SMaster cssbAk47Paladin running
[100] CSSB Ak47 Gold 10.03.2018 SMaster cssbAk47Gold.am running
[101] CSSB Ak47 Asiimov 10.03.2018 SMaster cssbAk47Asiimov running
[102] CSSB M4A1 Gold 2 10.03.2018 SMaster cssbM4A1Gold2.a running
[103] CSSB M4A1 Golden Snake 10.03.2018 SMaster cssbM4A1GoldenS running
[104] CSSB M4A1 Beast 15.10.2018 SMaster cssbM4A1Beast.a running
[105] CSSB M4A1 Gold 10.03.2018 SMaster cssbM4A1Gold.am running
[106] CSSB M4A1 Asiimov 10.03.2018 SMaster cssbM4A1Asiimov running
[107] CSSB Galil Dark Knight 10.03.2018 SMaster cssbGalilDarkKn running
[108] CSSB Galil Coup 10.03.2018 SMaster cssbGalilCoup.a running
[109] CSSB Sg550 VSK-94 10.03.2018 SMaster cssbSg550-VSK-9 running
[110] CSSB Mini Gun Gold 10.03.2018 SMaster cssbMiniGunGold running
[111] CSSB Mini Gun Winter 10.03.2018 SMaster cssbMiniGunWint running
[112] CSSB Mini Gun 10.03.2018 SMaster cssbMiniGun.amx running
[113] Presents: API 1.2 mx?! presents_api.am running
[114] Presents GameCMS Rules 1.4 mx?! presents_gamecm debug
[115] Presents Spawner 1.6 mx?! presents_spawne debug
[116] Presents: Info & Effec 1.5 mx?! presents_info_e debug
[117] Presents: GameCMS Cash 1.1 mx?! presents_gamecm debug
[118] Presents: GameCMS Flag 1.2 mx?! presents_gamecm debug
[119] Presents: Money 1.1 mx?! presents_money. debug
[120] Presents: BonusMenu RB 1.1 mx?! presents_bonusm debug
[121] Presents: AES EXP 1.2 mx?! presents_aes_ex debug
[122] Presents: Health 1.1 mx?! presents_health debug
[123] Presents: Armor 1.1 mx?! presents_armor. debug
[124] Presents: Footsteps 1.1 mx?! presents_footst debug
[125] Presents: Regeneration 1.2 mx?! presents_regene debug
[126] Presents: Protection 1.1 mx?! presents_protec debug
[127] Presents: Damage 1.1 mx?! presents_damage debug
[128] Presents: Anti-headsho 1.1 mx?! presents_anti_h debug
[129] Presents: Evasion 1.1 mx?! presents_evasio debug
[130] Presents: Crippling Bu 1.1 mx?! presents_crippl debug
[131] Presents: Blinding Bul 1.1 mx?! presents_blindi debug
[132] Presents: Reflect Dama 1.1 mx?! presents_reflec debug
[133] Presents: MultiJump 1.1 mx?! presents_multij debug
[134] Presents: Grenade Prot 1.1 mx?! presents_grenad debug
[135] Presents: Vampire 1.1 mx?! presents_vampir debug
[136] Presents: Bunny Hop 1.1 mx?! presents_bhop.a debug
[137] Presents: Molotov 1.0 mx?! presents_moloto debug
[138] Presents: HealthNade 1.0 mx?! presents_health debug
[139] Presents: Accuracy & R 1.0 mx?! presents_accura running
[140] [190] MOTD RBS 24.10.10BE SKAJIbnEJIb motd_rbs.amxx running
[141] [190] StatsX Unlimited 24.10.10BE SKAJIbnEJIb statsx_unlimite running
[142] [190] CsStats MySQL 24.10.08BE SKAJIbnEJIb csstats_mysql.a running
[143] [190] CsStats Editor 20.06.06 SKAJIbnEJIb csstats_editor. running
[144] [190] Skill ELO 24.10.08BE SKAJIbnEJIb skill_elo.amxx running
[145] [190] Top Award RBS 20.06.06 SKAJIbnEJIb topaward_rbs.am running
[146] [190] NewYear RBS 24.10.10BE SKAJIbnEJIb newyear_rbs.amx running
[147] [190] Ultimate Informe 21.03.23 SKAJIbnEJIb ultimate_inform running
[148] Ultimate Informer: Pri 1.0.0 rrricardo ultimate_inform running
[149] [190] Ultimate Gag for 17.08.28 SKAJIbnEJIb ultimate_gag_vt running
[150] [190] Ultimate Gag 21.01.02BE SKAJIbnEJIb ultimate_gag.am running
[151] [190] Chat Controller 20.06.06 SKAJIbnEJIb chat_controller running
[152] [190] Chat RBS 24.10.11BE SKAJIbnEJIb chat_rbs.amxx running
[153] [VIP RBS] Add Armor 1.0 mx?! vip_rbs_add_arm running
[154] [VIP RBS] Add Health 1.3 mx?! vip_rbs_add_hea running
[155] [190] VIP RBS 24.10.11BE SKAJIbnEJIb vip_rbs.amxx running
[156] [190] BonusMenu RBS 22.12.07BE SKAJIbnEJIb bonusmenu_rbs.a running
[157] [190] AdminCmd RBS 22.11.15 SKAJIbnEJIb & AM admincmd_rbs.am running
[158] [190] Army Ranks Ultim 24.10.08BE SKAJIbnEJIb army_ranks_ulti running
[159] [190] StatsX RBS 24.10.11BE SKAJIbnEJIb & AM statsx_rbs.amxx running
[160] [190] Stats Configurat 24.10.11BE SKAJIbnEJIb & AM statscfg_rbs.am running
[161] [190] Ultimate Flags 22.11.15 SKAJIbnEJIb ultimate_flags. running
[162] [190] Ultimate Models 24.10.10BE SKAJIbnEJIb ultimate_models running
[163] [190] Stimulation RBS 24.10.10BE SKAJIbnEJIb stimulation_rbs running
[164] [190] MapsMenu RBS 20.06.06 SKAJIbnEJIb & AM mapsmenu_rbs.am running
[165] [190] VoteBan RBS 20.06.06 SKAJIbnEJIb voteban_rbs.amx running
[166] [190] Screen Player 24.10.10BE SKAJIbnEJIb screen_player.a running
[167] [190] CSDM Lite 20.08.08 SKAJIbnEJIb csdm_lite.amxx running
[168] [190] Admin Mode 20.06.06 SKAJIbnEJIb admin_mode.amxx running
[169] Menus Front-End 20.06.06 SKAJIbnEJIb & AM amxmodmenu_rbs. running
[170] [190] AdminChat RBS 22.11.15 SKAJIbnEJIb adminchat_rbs.a running
[171] [190] Blind RBS 22.12.07BE SKAJIbnEJIb blind_rbs.amxx running
[172] [190] CmdMenu RBS 20.06.06 SKAJIbnEJIb & AM cmdmenu_rbs.amx running
[173] [190] ESP RBS 20.06.06 SKAJIbnEJIb & Ko esp_rbs.amxx running
[174] [190] Kill Assist RBS 20.06.06 SKAJIbnEJIb & Di killassist_rbs. running
[175] [190] DemoRecorder RBS 20.06.06 SKAJIbnEJIb demorecorder_rb running
[176] [190] PauseCfg RBS 20.06.06 SKAJIbnEJIb & AM pausecfg_rbs.am running
[177] [190] TimeLeft 18.09.25 SKAJIbnEJIb & AM timeleft.amxx running
[178] [190] NextMap 18.09.25 SKAJIbnEJIb & AM nextmap.amxx running
[179] [190] MapChooser RBS 20.08.02 SKAJIbnEJIb & UF mapchooser_rbs. running
[180] Molotov Cocktail API 2.35 CHEL74 + mx?! molotov_cocktai running
[181] Molotov Cocktail Bonus 1.4 mx?! molotov_cocktai running
[182] Molotov Cocktail Spawn 1.8 mx?! molotov_cocktai running
[183] Molotov get_user_attac 1.0 mx?! molotov_get_use running
[184] Molotov Kill Rewards 1.4 mx?! molotov_kill_re running
[185] Game Menu 1.0 unknown game_menu.amxx debug
[186] Player Menu 1.0 unknown player_menu.amx running
[187] Setup Menu 1.0 unknown setup_menu.amxx running
[188] Server Menu 1.0 unknown server_menu.amx running
[189] Stats Menu 1.0 unknown stats_menu.amxx running
[190] Transfer Menu 1.0 unknown transfer_menu.a running
[191] Donate Money 1.0 unknown donate_money.am running
[192] Hide Radar 0.0.1 rrricardo hide_radar.amxx running
[193] Grab Modular 2.1.0 twisterniq grab_modular.am running
[194] Grab Menu: Core 2.0.0 twisterniq grab_menu_core. running
[195] Grab: Access 1.0.0 twisterniq grab_access.amx running
[196] Grab Menu: Access Chec 1.0.0 twisterniq grab_menu_acces running
[197] Grab: No Fall Damage 2.1.1 twisterniq grab_no_falldam running
[198] Grab: Notify 2.1.0 twisterniq grab_notify.amx running
[199] Grab: Pull 2.0.0 twisterniq grab_pull.amxx running
[200] Grab: Push 2.0.0 twisterniq grab_push.amxx running
[201] Grab: Throw on Drop 2.0.0 twisterniq grab_throw_on_d running
[202] Grab Menu: Disarm 2.0.0 twisterniq grab_menu_disar running
[203] Grab Menu: Kick 2.0.0 twisterniq grab_menu_kick. running
[204] Grab Menu: Kill 2.0.0 twisterniq grab_menu_kill. running
[205] Grab Menu: Pull 2.0.0 twisterniq grab_menu_pull. running
[206] Grab Menu: Push 2.0.0 twisterniq grab_menu_push. running
[207] Bypass Guard 1.1.14 mx?! bypass_guard.am running
[208] [BG] Provider: IPHub-C 1.4 mx?! bg_provider_iph running
[209] [BG] Supervisor 0.6 mx?! bg_supervisor.a running
[210] CSSB Skills Pump Syste 15.10.2018 SMaster cssbSkillsPumpS running
[211] CSSB Skills Pump Healt 05.05.2016 SMaster cssbSkillsPumpH running
[212] CSSB Skills Pump Armor 05.05.2016 SMaster cssbSkillsPumpA running
[213] CSSB Skills Pump Speed 04.12.2016 SMaster cssbSkillsPumpS running
[214] CSSB Skills Pump Gravi 04.12.2016 SMaster cssbSkillsPumpG running
[215] CSSB Skills Pump Show 04.06.2016 SMaster cssbSkillsPumpS running
[216] [ReAPI] Healthnade 0.0.22f DEV-CS.RU Commun reapi_healthnad running
[217] [HN] BonusMenu RBS 1.0 mx?! hn_bonusmenu_rb running
[218] Custom Max Health 1.0 mx?! custom_maxhealt running
Автор плагина
iPlague & WellAsGood
Версия плагина
0.0.4
Исходный код
прикрепил ниже
ошибка
 

Вложения

Сообщения
10
Реакции
0
Условие некорректное. У тебя оно будет истинным в любых раскладах, кроме 0. rg_give_item() при невалидном энтити возвращает -1, поэтому ошибка

Код:
public give_axe(iPlayer){ // 0.0.3
    new iWeapon = rg_give_item(iPlayer, "weapon_knife", GT_REPLACE);
-    if(iWeapon){
+    if(is_entity(iWeapon)) {
        set_properties(iWeapon);
        PlayerAxeStatus[iPlayer] = HAS_AXE;
        PlayerAxeEntity[iPlayer] = NULLENT;
        PlayerCooldown[iPlayer] = 0.0;
        if(get_member(iPlayer, m_pActiveItem) == iWeapon){    //0.0.3
            set_entvar(iPlayer, var_viewmodel, KNIFE_MDL_V);
            set_entvar(iPlayer, var_weaponmodel, KNIFE_MDL_P);
            set_entvar(iPlayer, var_maxspeed,  g_eCvar[CVAR_AXE_MAX_SPEED]);
        }
        else if(g_eCvar[CVAR_AXE_SWITCH_WEAPON] == 1)    // 0.0.2
            rg_switch_weapon(iPlayer, iWeapon);
            
        return iWeapon;
    }
    return 0;
}
 

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

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