Hi. I created code for simple DM, all works fine. Then I realised, that after 20 mins of 32 players game whole map is covered with dropped weapons.
So i wrote next plugin:
plugin_init:
RegisterHam(Ham_Spawn, "weaponbox", "clear_weapon", 1);
public clear_weapon(id):
fm_remove_entity(id)
After few mins of play server crashes. I use original STEAM (no dproto / cracks etc)
Code:
meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.8.1.3 ini Start ANY
[ 2] MySQL RUN - mysql_amxx_i386. v1.8.1.3 pl1 ANY ANY
[ 3] Fun RUN - fun_amxx_i386.so v1.8.1.3 pl1 ANY ANY
[ 4] Engine RUN - engine_amxx_i386 v1.8.1.3 pl1 ANY ANY
[ 5] FakeMeta RUN - fakemeta_amxx_i3 v1.8.1.3 pl1 ANY ANY
[ 6] CStrike RUN - cstrike_amxx_i38 v1.8.1.3 pl1 ANY ANY
[ 7] CSX RUN - csx_amxx_i386.so v1.8.1.3 pl1 ANY ANY
[ 8] Ham Sandwich RUN - hamsandwich_amxx v1.8.1.3 pl1 ANY ANY
8 plugins, 8 running
version
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 16:56:12 Mar 8 2010 (4883)
Setting it on task (0.1 / 1.0) or checking whether owner is alive does not give any effect. When i remove empty weapon remover, servers works fine.
What should i do?