- Ошибка
no error
- AMX Mod X
AMX Mod X 1.10.0.5467 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Jan 21 2023 20:27:33
Built from: https://github.com/alliedmodders/amxmodx/commit/27f451a
Build ID: 5467:27f451a
Core mode: JIT+ASM32
- Билд сервера
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.14.0.857-dev
Build date: 19:52:21 Mar 27 2025 (4002)
Build from: https://github.com/rehlds/ReHLDS/commit/89958d3
- ReGameDLL
ReGameDLL version: 5.28.0.756-dev
Build date: 19:19:31 Mar 27 2025
Build from: https://github.com/rehlds/ReGameDLL_CS/commit/96b2ef2
- Metamod версия
Metamod-r v1.3.0.149, API (5:13)
Metamod-r build: 11:31:17 Apr 23 2024
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/603a257
- Metamod плагины
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] SafeNameAndChat RUN - SafeNameAndChat.so v1.2 Beta 3 ini ANY ANY
[ 2] Reunion RUN - reunion_mm_i386.so v0.2.0.13 ini Start Never
[ 3] VoiceTranscoder RUN - VoiceTranscoder.so v2017RC5 ini ANY ANY
[ 4] AMX Mod X RUN - amxmodx_mm_i386.so v1.10.0.5467 ini Start ANY
[ 5] Placeholders disabler RUN - plfix_mm_i386.so v0.0.3 ini Start Never
[ 6] MySQL RUN - mysql_amxx_i386.so v1.9.0.5294 pl4 ANY ANY
[ 7] SQLite RUN - sqlite_amxx_i386.so v1.10.0.5467 pl4 ANY ANY
[ 8] Amxx Easy Http RUN - easy_http_amxx_i386.so v1.4.0 pl4 ANY ANY
[ 9] ReAPI RUN - reapi_amxx_i386.so v5.26.0.338-dev pl4 ANY Never
[10] hackdetector RUN - hackdetector_amxx_i386.so v0.15.328.lite pl4 ANY ANY
[11] Fun RUN - fun_amxx_i386.so v1.10.0.5467 pl4 ANY ANY
[12] Engine RUN - engine_amxx_i386.so v1.10.0.5467 pl4 ANY ANY
[13] FakeMeta RUN - fakemeta_amxx_i386.so v1.10.0.5467 pl4 ANY ANY
[14] GeoIP RUN - geoip_amxx_i386.so v1.10.0.5467 pl4 ANY ANY
[15] CStrike RUN - cstrike_amxx_i386.so v1.10.0.5467 pl4 ANY ANY
[16] CSX RUN - csx_amxx_i386.so v1.10.0.5467 pl4 ANY ANY
[17] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.10.0.5467 pl4 ANY ANY
17 plugins, 17 running
- Список плагинов
Currently loaded plugins:
id name version author url file status
[ 1] 0 No Name Change 2.1 OciXCrom unknown crx_nonamec running
[ 2] 1 [ReAPI] Anti overflow 1.0 Some Author unknown antioverflo running
[ 3] 2 AntiIdleBot 2.0.0 mx?! unknown antiindlebo running
[ 4] 3 Safe Userinfo 1.0.4 the_hunter safe_userin running
[ 5] 4 49 44 49 20 4E 41 58 59 49 old_clients running
[ 6] 5 unknown unknown unknown unknown api_evo_vau debug
[ 7] 6 Surf Fix 1.9 Lopol2010 surffix.amx running
[ 8] 7 Admin Base 1.8.3-dev+ AMXX Dev Team unknown admin.amxx running
[ 9] 8 Admin Commands Log 1.1 w0w unknown admin_comma running
[ 10] 9 Chat_Logger 2.1a Jim unknown chat_logger running
[ 11] 10 VIP Manager 0.0.6 Exolent unknown vip_manager running
[ 12] 11 unknown unknown unknown unknown api_lists.a running
[ 13] 12 Admin Groups 1.2 OciXCrom unknown crx_admingr running
[ 14] 13 OciXCrom's Rank System 3.10 OciXCrom crx_ranksys debug
[ 15] 14 unknown unknown unknown unknown extra_ranks debug
[ 16] 15 Chat Manager 4.8 OciXCrom crx_chatman debug
[ 17] 16 Admin Commands 1.10.0.546 AMXX Dev Team admincmd_te running
[ 18] 17 Admin Help 1.8.3-dev+ AMXX Dev Team unknown adminhelp.a running
[ 19] 18 Multi-Lingual System 1.8.3-dev+ AMXX Dev Team unknown multilingua running
[ 20] 19 Menus Front-End 1.9.0.5271 AMXX Dev Team unknown menufront_e running
[ 21] 20 Commands Menu 1.8.3-dev+ AMXX Dev Team unknown cmdmenu.amx running
[ 22] 21 Players Menu 1.8.2 AMXX Dev Team unknown plmenu_knif running
[ 23] 22 Maps Menu 1.8.2 AMXX Dev Team unknown mapsmenu_kn running
[ 24] 23 Plugin Menu 1.8.3-dev+ AMXX Dev Team unknown pluginmenu. running
[ 25] 24 Anti Flood 1.8.3-dev+ AMXX Dev Team unknown antiflood.a debug
[ 26] 25 Special Admin Gag 1.7 Cristi .C amx_mute.am debug
[ 27] 26 Admin Chat 1.9.0.5271 AMXX Dev Team unknown adminchat_f running
[ 28] 27 Admin Votes 1.9.0.5271 AMXX Dev Team unknown adminvote_e running
[ 29] 28 Pause Plugins 1.8.3-dev+ AMXX Dev Team unknown pausecfg.am running
[ 30] 29 Stats Configuration 1.8.3-dev+ AMXX Dev Team unknown statscfg.am running
[ 31] 30 StatsX 1.8.3-dev+ AMXX Dev Team unknown statsx.amxx running
[ 32] 31 unknown unknown unknown unknown shaorma.amx running
[ 33] 32 Headshot HP 1.0 OciXCrom unknown 100hp.amxx stopped
[ 34] 33 Perfect Camera 0.2.6 Nordic Warrior perfect_cam debug
[ 35] 34 Zone Management 2.0.0 b0t. ZoneManagem running
[ 36] 35 Zone: Semiclip 0.0.3 b0t. Zone_Semicl stopped
[ 37] 36 MultiPlayer Bhop 1.1.2 ConnorMcLeod mpbhop_new_ stopped
[ 38] 37 Zone: Kz and Bhop 0.2.0 b0t. Zone_KzAndB stopped
[ 39] 38 Custom Duels 1.2 Claude custom duel_claude running
[ 40] 39 HNS JumpStats v1.1.0 WessTorn jumpstats.a stopped
[ 41] 40 PreFog 3.2.3 WessTorn prefog.amxx stopped
[ 42] 41 Reset jump bugs 1.0 WessTorn resetbugs.a stopped
[ 43] 42 Respawn Team Balance 1.3.1 OciXCrom crx_team_ba debug
[ 44] 43 Knife Models 3.1.1 OciXCrom crx_knife_m debug
[ 45] 44 ProKreedz Hook v2.4 vato loco [GE-S] hook_jetpac running
[ 46] 45 unknown unknown unknown unknown vip_shop.am running
[ 47] 46 IP Shower 1.0 raizo unknown crx_showip. running
[ 48] 47 Slot Machine 0.3 Psycrow next21_slot running
[ 49] 48 Slot Machine Money 0.1 Psycrow next21_slot running
[ 50] 49 Remove Entity 1.0 6u3oH & Edit(Fgh unknown remove_enti running
[ 51] 50 New Plug-In 1.0 Author unknown test_acer.a running
[ 52] 51 Roulette Final 4.2 ChatGPT Test_ruleta running
[ 53] 52 Guess Number Event 1.0 YourName random_gues running
[ 54] 53 Map Spawns Editor 1.0.16 iG_os unknown Map_Spawns_ running
[ 55] 54 Weapon Menu 1.0 Mattcook & xerob unknown weaponmenu. running
[ 56] 55 FrostNades 2.14 Avalanche unknown frostnades. running
[ 57] 56 botespectador 1.0 _|Polimpo4|_ PMN_BOT_SPE running
[ 58] 57 DANS Menusu 0.1.72 ANONIM // Edit: animations. debug
[ 59] 58 Building Blocks 1.4 Emp` blocks_edit debug
[ 60] 59 plugin_trail 1.3.24 Bahrmanou unknown plugin_trai running
[ 61] 60 unknown unknown unknown unknown amx_money.a debug
[ 62] 61 Real Weapon Drop 2.3 Numb unknown real_weapon running
[ 63] 62 Pop Grenades 1.2 EFFx/HamletEagle unknown right-click running
[ 64] 63 Entity Remover 0.4 Exolent unknown entity_remo running
[ 65] 64 Just Capture the Flag 1.32c Digi jctf.amxx debug
[ 66] 65 unknown unknown unknown unknown c_vip_free_ running
[ 67] 66 No Kill Zones 0.0.169 ConnorMcLeod api_create2 running
[ 68] 67 unknown unknown unknown unknown ex_api_crea running
[ 69] 68 AFK Protection 2.3 rapara13/Nordic api_afk.amx running
[ 70] 69 Automatic Command Exec 2.0 OciXCrom unknown crx_autocom running
[ 71] 70 Jail 1.0 Emilioneri unknown amx_jail.am running
[ 72] 71 FMU Events 0.3.40 Askhanar events.amxx debug
[ 73] 72 Best Player MOTD 1.2.6 OciXCrom unknown crx_bestpla running
[ 74] 73 MOTD Commands 1.3 OciXCrom unknown crx_motdcom running
[ 75] 74 unknown unknown unknown unknown sex.amxx debug
[ 76] 75 Zephyr-G Swoop 1.5A GlobalModders.ne Zephyr-G_Sw debug
[ 77] 76 Nade Semiclip 2.7 JustGo unknown nade_semicl running
[ 78] 77 Limit Water Jump Boost 1.0 Manu unknown limit_wathe running
[ 79] 78 Game Namer 1.1 NeuroToxin unknown gamenamecha running
[ 80] 79 New Year Task 0.5 Safety1st new_year.am debug
[ 81] 80 XMAS GIFTS 2.3.2 KronoS random_gift running
[ 82] 81 unknown unknown unknown unknown xmas_ents.a running
[ 83] 82 [ZDT] Bonus round: Pie 0.9.5 Doc.Batcon npc_bonusmo debug
[ 84] 83 [Zombie Escape] Weapon 0.7 PlaneShfit1231 / ze_extra_rp debug
[ 85] 84 [ZP] Weapon: Ripper (P 1.0 xUnicorn (t3rkec zp_weapon_c debug
[ 86] 85 Map Manager: Core 3.2.1 Mistrick map_manager debug
[ 87] 86 Map Manager: Scheduler 0.2.1 Mistrick map_manager running
[ 88] 87 Map Manager: Rtv 0.1.5 Mistrick map_manager running
[ 89] 88 Map Manager: Nominatio 0.3.5 Mistrick map_manager running
[ 90] 89 Map Manager: BlockList 0.0.4 Mistrick map_manager running
[ 91] 90 Map Manager: Online so 0.0.4 Mistrick map_manager running
[ 92] 91 Map Manager: Informer 0.0.5 Mistrick map_manager running
92 plugins, 85 running
continued from https://hlds.run/threads/485/#post-2036
using only latest stabe builds
amxx modules :
thank you @Limbooc for reply, your suggestions have been taken into account
regarding sv_restart 1 doesn t help, only mapchange have a good effect
this server is just for test but the addons from it is running on the main server(excluding updated plugins) also, but the problem is not on main server, maybe because there is timelimit 25 and map change after voting
what changed i made on test server i didn t applied them on main server for now, the main server is running the same addons since 2020, so test server same
because on test server i made bulk update for some plugins i m not sure which can be the problem(if is not 100% related to goldsrc), i will really test by deactivating hooks from plugins(one by one or at least by the last edited)
excluding your suggestion regarding sys ticrate(already 1k) and fps max(which i applied) i also increased -zone parameter to 4096 and decreased -num_edicts to 2048, also if the problem persists i will try with parameter -pingboost 2/3
regarding plugins :
default plugin = i didn t edited them
regarding plugins which creates custom entites or works with them are:
npc_bonusmon_095.amxx , animations.amxx , sex.amxx they start entity interaction only by command
models which are using flag 512 are santa form xmas_ents.amxx and vehicle model from Zephyr-G_Swoop.amxx
i think problem occured after i activated holidays plugins: random_gifts.amxx , xmas_ents.amxx , new_year.amxx , npc_bonusmon_095.amxx where random_gifts.amxx , xmas_ents.amxx can be the problem, but according to me, the code is ok....
regarding xmas_ents.amxx , here i tried to recreate manually animation with frames like this (ignore my comments from code) and if is necessary i can post full source code
random_gifts.amxx - ent creation
using only latest stabe builds
amxx modules :
Код:
Currently loaded modules:
name version author status
[ 1] MySQL 1.9.0.5294 AMX Mod X Dev Team running
[ 2] SQLite 1.10.0.546 AMX Mod X Dev Team running
[ 3] Amxx Easy Http 1.4.0 Polarhigh running
[ 4] ReAPI 5.26.0.338 Asmodai & s1lent running
[ 5] Easy Profiler 0.01 Alpha Inline running
[ 6] hackdetector 0.15.328.l AGHL.RU Dev Team running
[ 7] Fun 1.10.0.546 AMX Mod X Dev Team running
[ 8] Engine 1.10.0.546 AMX Mod X Dev Team running
[ 9] FakeMeta 1.10.0.546 AMX Mod X Dev Team running
[10] GeoIP 1.10.0.546 AMX Mod X Dev Team running
[11] Sockets 1.10.0.546 AMX Mod X Dev Team running
[12] RegEx 1.10.0.546 AMX Mod X Dev Team running
[13] nVault 1.10.0.546 AMX Mod X Dev Team running
[14] CStrike 1.10.0.546 AMX Mod X Dev Team running
[15] CSX 1.10.0.546 AMX Mod X Dev Team running
[16] Ham Sandwich 1.10.0.546 AMX Mod X Dev Team running
[17] JSON 1.10.0.546 AMX Mod X Dev Team running
17 modules, 17 correct
thank you @Limbooc for reply, your suggestions have been taken into account
regarding sv_restart 1 doesn t help, only mapchange have a good effect
this server is just for test but the addons from it is running on the main server(excluding updated plugins) also, but the problem is not on main server, maybe because there is timelimit 25 and map change after voting
what changed i made on test server i didn t applied them on main server for now, the main server is running the same addons since 2020, so test server same
because on test server i made bulk update for some plugins i m not sure which can be the problem(if is not 100% related to goldsrc), i will really test by deactivating hooks from plugins(one by one or at least by the last edited)
excluding your suggestion regarding sys ticrate(already 1k) and fps max(which i applied) i also increased -zone parameter to 4096 and decreased -num_edicts to 2048, also if the problem persists i will try with parameter -pingboost 2/3
regarding plugins :
default plugin = i didn t edited them
Код:
real_weapon_drop.amxx - default plugin from https://forums.alliedmods.net/showthread.php?p=619788
right-click-grenades.amxx - default plugin from https://forums.alliedmods.net/showthread.php?p=2486517
blocks_edit1.amxx - source https://forums.alliedmods.net/showthread.php?p=504633
Map_Spawns_Editor.amxx - source https://forums.alliedmods.net/showthread.php?t=43660
weaponmenu.amxx - source https://forums.alliedmods.net/showthread.php?p=95276
frostnades.amxx - source https://forums.alliedmods.net/showthread.php?t=41126
nade_semiclip.amxx - source https://forums.alliedmods.net/showthread.php?t=282427
mpbhop_new_edit.amxx - source https://forums.alliedmods.net/showthread.php?t=90242
regarding plugins which creates custom entites or works with them are:
Код:
random_gifts.amxx - recently edited
xmas_ents.amxx - recently edited
animations.amxx - recently edited
sex.amxx - recently edited
new_year.amxx - recently edited
crx_knife_models.amxx - recently edited, have hats system implemented + glow
hook_jetpack_grab.amxx - recently edited, works with movetype
npc_bonusmon_095.amxx - recently edited (source - https://cs-wz.com/counter-strike/zombie-plague/plugins_zp/542-zdt-bonus-round-pierrot-094-by-docbatcon.html)
next21_slot_machine.amxx - recently edited (source - https://github.com/Next21Team/Slot-Machine)
Zephyr-G_Swoop.amxx - recently edited (source - https://github.com/GlobalModders/CS1.6-Advanced-Vehicle-Module-AMXX)
api_afk.amxx - recently edited, works with solid (source - https://csserv.ru/cs/plugins/gamers/afk_protection_2.3 / https://amxx-bg.info/forum/viewtopic.php?t=12118)
perfect_camera.amxx - recently edited (source - https://csserv.ru/cs/plugins/reapi/perfect_camera_0.2.5)
jctf.amxx - recently edited (source - https://forums.alliedmods.net/showthread.php?t=132115)
npc_bonusmon_095.amxx , animations.amxx , sex.amxx they start entity interaction only by command
models which are using flag 512 are santa form xmas_ents.amxx and vehicle model from Zephyr-G_Swoop.amxx
i think problem occured after i activated holidays plugins: random_gifts.amxx , xmas_ents.amxx , new_year.amxx , npc_bonusmon_095.amxx where random_gifts.amxx , xmas_ents.amxx can be the problem, but according to me, the code is ok....
regarding xmas_ents.amxx , here i tried to recreate manually animation with frames like this (ignore my comments from code) and if is necessary i can post full source code
code_language.pawn:
plugin init - register_forward(FM_Think, "FMThink")
public FMThink(ent) {
if(pev_valid(ent)) {
switch(fm_get_iuser1(ent)) {
case SANTA_SECRET_CODE: {
static Float:fFrame, Float:fGameTime, Float:fNextDrop, Float:fLastThink
fGameTime = get_gametime()
/*if(fLastThink == 0.0) {
fLastThink = fGameTime
fm_set_fuser2(ent, fGameTime)
fm_set_fuser1(ent, fGameTime + (cv_mp_tl ? 300.0 : 1800.0))
fm_set_nextthink(ent, fGameTime + 0.05)
return FMRES_IGNORED // ??
}*/
fm_get_fuser2(ent, fLastThink)
fm_get_frame(ent, fFrame)
fFrame += (fGameTime - fLastThink) * 20.0 // += 1.0 def SAU 0.625 | 1.25
if(fFrame >= 255.0) {
fFrame -= 255.0 // = 0.0 def
//fm_set_animtime(ent, fGameTime)
}
fm_set_frame(ent, fFrame)
fm_set_fuser2(ent, fGameTime)
fm_get_fuser1(ent, fNextDrop)
if(fGameTime >= fNextDrop) {
Spawn_Gift(ent)
fm_set_fuser1(ent, fGameTime + (cv_mp_tl > 0 ? 300.0 : 7200.0)) // daca nu merge cva de facut separat asta cu comparatia
}
fm_set_nextthink(ent, fGameTime + 0.05) // 0.1 def (o fi ok fara + ?)
}
}
}
}
plugin cfg - read file - SPAWN ENT
stock SpawnEnt(const Float:Origin[3], const Float:Angles[3] = {0.0, 0.0, 0.0}, const Float:Mins[3] = {-16.0, -16.0, -38.0},
const Float:Maxs[3] = {16.0, 16.0, 38.0}, const Model[], const Code) {
static iEnt; iEnt = fm_create("info_target")
if(!pev_valid(iEnt)) {
return
}
static Float:gt; gt = get_gametime()
fm_set_origin2(iEnt, Origin)
fm_set_angles(iEnt, Angles)
fm_set_model(iEnt, Model)
fm_set_iuser1(iEnt, Code)
fm_set_solid(iEnt, SOLID_BBOX)
fm_set_size(iEnt, Mins, Maxs)
switch(Code) {
case SANTA_SECRET_CODE: {
fm_set_sequence(iEnt, 1)
fm_set_fuser2(iEnt, gt)
fm_set_classname(iEnt, SANTA_CLASSNAME)
fm_set_fuser1(iEnt, gt + (cv_mp_tl > 0 ? 300.0 : 3600.0))
fm_set_nextthink(iEnt, gt + 0.05)
}
}
}
stock Spawn_Gift(const iEnt) { - native from random_gifts.amxx
static Float:fEntOrigin[3], iGift
fm_get_bone_position(iEnt, 0, fEntOrigin, 0)
/*if(fEntOrigin[0] == 0.0 && fEntOrigin[1] == 0.0) { // sau doar [0]
pev(iEnt, pev_origin, fEntOrigin)
}*/
fEntOrigin[2] += 5.0
iGift = gift_spawn(fEntOrigin, 1)
if(pev_valid(iGift)) { // def fara astea..
static Float:fDownVelocity[3]
fDownVelocity[0] = random_float(-15.0, 15.0) // 0.0
fDownVelocity[1] = random_float(-15.0, 15.0)
fDownVelocity[2] = -50.0 // 10
fm_set_velocity(iGift, fDownVelocity)
}
CC_SendMatchedNoPrefix(0, CC_COLOR_RED, "&x04[HoHoHo]&x03 Santa&x01 just&x04 Dropped&x01 a&x04 Gift")
}
stock Spawn_Tree_Gifts(const iEnt, const iGifts = 3, const show_msg = 1) {
static Float:fOrigin[3], Float:fVelocity[3], i, iGift, Float:fRandomOrigin[3]
fm_get_origin(iEnt, fOrigin)
fOrigin[2] += 50.0
for(i = 0; i < iGifts; i ++) {
fRandomOrigin[0] = fOrigin[0] + random_float(-10.0, 10.0)
fRandomOrigin[1] = fOrigin[1] + random_float(-10.0, 10.0)
fRandomOrigin[2] = fOrigin[2]
iGift = gift_spawn(fRandomOrigin)
if(pev_valid(iGift)) {
fVelocity[0] = random_float(-250.0, 250.0)
fVelocity[1] = random_float(-250.0, 250.0)
fVelocity[2] = random_float(200.0, 400.0)
fm_set_velocity(iGift, fVelocity)
}
}
if(show_msg) {
CC_SendMatchedNoPrefix(0, CC_COLOR_NORMAL, "&x04[Tree]&x01 Spawned Gifts around it")
}
}
random_gifts.amxx - ent creation
code_language.pawn:
stock XGIFTS_Create( const Float:fOrigin[ 3 ], const extern = 0, const from_sky = 0, const ent = 0 )
{
if( !extern && ent && pev_valid( ent ) )
{
fm_set_solid( ent, SOLID_TRIGGER )
fm_set_effects( ent, 0 )
apply_ent_var( ent )
return ent
}
else // ..
{
static new_ent; new_ent = fm_create( "info_target" )
if( pev_valid( new_ent ) )
{
fm_set_model( new_ent, model_present )
fm_set_origin( new_ent, fOrigin )
set_pev( new_ent, PRESENT_PEV, PRESENT_PEV_SECRET )
//fm_set_solid( new_ent, SOLID_TRIGGER ) // SOLID_BBOX SOLID_TRIGGER - def
//set_pev(ent, pev_avelocity,Float:{0.0,50.0,0.0}) ROTIRE AUTOMATA(singura) ENTITATE
if( extern )
{
fm_set_iuser1( new_ent, new_ent )
fm_set_solid( new_ent, SOLID_NOT )
remove_task( new_ent + 4619500 )
set_task( 0.2, "restore_ent_state", new_ent + 4619500 ) // sau 0.1 ? .. si cu verificari , taskid ?? ..
#if defined XMAS
if( from_sky )
{
fm_set_gravity( new_ent, 0.3 ) // gen fall incet de sus in jos plm
}
#endif
}
else
{
fm_set_solid( new_ent, SOLID_TRIGGER ) // ...........
}
fm_set_size( new_ent, Float:{ -10.0, -10.0, 0.0 }, Float:{ 10.0, 10.0, 25.0 } ) // ar trb si mins si maxs separate..
// min and max Float:{ -2.0, -2.0, -4.0 }, Float:{ 2.0, 2.0, 4.0 } { -5.0, -5.0, -5.0 }, { 5.0, 5.0, 5.0 }
// { 16.0, 16.0, 38.0 }, { -16.0, -16.0, -38.0 } { 23.0, 23.0, 40.0 }, { -23.0, -23.0, -40.0 }
// { 16.0, 16.0, 38.0 }, { -16.0, -16.0, -38.0 } -8.0, -8.0, -18.0 8.0, 8.0, 18.0
fm_set_movetype( new_ent, MOVETYPE_TOSS ) // MOVETYPE_PUSHSTEP MOVETYPE_TOSS - def .......
apply_ent_var( new_ent )
//fm_dispatch_spawn( new_ent )
//fm_drop_to_floor( new_ent ) // sau on doar pt !extern ?
//CC_SendMatched( 0, CC_COLOR_NORMAL, "%sresent was spawned in map", get_pcvar_num( pcvar_presents_on_map ) == 1 ? "P" : "New p" )
//set_task( get_pcvar_float( pcvar_no_found_respawn ), "CHECK_ENT_STATUS", ent/* + 213, .flags = "b"*/ )
/*if( fm_count( ) >= 300 || iEntsCount > 200 )
{
CC_SendMatched( 0, CC_COLOR_NORMAL, "Server will automatically reload the map" )
if( !task_exists( 58100, 1 ) )
{
set_task( 5.0, "RestartMap", 58100 )
}
}
iEntsCount ++*/
return new_ent
}
}
return 0
}
public restore_ent_state( taskid )
{
static ent; ent = taskid - 4619500
if( pev_valid( ent ) )
{
fm_set_solid( ent, SOLID_TRIGGER )
/*
static Float:fOrigin[3]
pev(ent, pev_origin, fOrigin)
fm_set_origin(ent, fOrigin)
*/
}
}