Quote:
|
Originally Posted by wonsae
Code:
public remove(id){
new ent = find_ent_by_class(id,"ts_groundweapon")
if(ent == 1){
remove_entity(ent)
}
return PLUGIN_HANDLED
}
woudl that work?
|
No.
Code:
public fnRemove(id)
{
static iEnt[1]
find_sphere_class(id,"ts_groundweapon",20.0,iEnt,1)
if(iEnt[0])
remove_entity(iEnt[0])
}
__________________