Hi guys

I have another problem with ents -.-
Look the code:
PHP Code:
#include <amxmodx>
#include <engine>
#include <hamsandwich>
new const g_remove_entities[][] =
{
"func_bomb_target",
"info_bomb_target",
"hostage_entity",
"monster_scientist",
"func_hostage_rescue",
"info_hostage_rescue",
"info_vip_start",
"func_vip_safetyzone",
"func_escapezone",
"func_buyzone"
}
public plugin_init() {
for(new i = 0;i < sizeof g_remove_entities;i++)
RegisterHam(Ham_Spawn, g_remove_entities[i], "fw_RemoveEnts")
}
public fw_RemoveEnts(ent)
{
if(is_valid_ent(ent))
remove_entity(ent)
}
The problem:
Do not remove the entities :S
Question:
What am I doing wrong?
__________________