PHP Code:
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.8.1.3 ini Start ANY
[ 2] Fun RUN - fun_amxx.dll v1.8.1.3 pl1 ANY ANY
[ 3] Engine RUN - engine_amxx.dll v1.8.1.3 pl1 ANY ANY
[ 4] FakeMeta RUN - fakemeta_amxx.dl v1.8.1.3 pl1 ANY ANY
[ 5] CStrike RUN - cstrike_amxx.dll v1.8.1.3 pl1 ANY ANY
[ 6] CSX RUN - csx_amxx.dll v1.8.1.3 pl1 ANY ANY
[ 7] Ham Sandwich RUN - hamsandwich_amxx v1.8.1.3 pl1 ANY ANY
[ 8] MySQL RUN - mysql_amxx.dll v1.8.1.3 pl1 ANY ANY
8 plugins, 8 running
Yes, it was same entity (40) whole time.
I changed from :
PHP Code:
while((ent = find_ent_in_sphere(id,origin,512.0)) != 0)
to
PHP Code:
while((ent = engfunc(EngFunc_FindEntityInSphere,id,origin,512.0)) != 0)
error is still there, but i just wondered what would happen if i did it multiple times at different places. First time same error with entity 50, second time on different side of the map same error with entity 40, third time same place as first time error with entity 40.