Hi.
Ok a new Question again.
I created several Entitys and i made an command to remove them, BUT always the last created entity gets removed the other ones cannot be removed.
How can it be done that i can removed them all entity by entity or all at once ?
Code:
public remove(id)
{
if ( avatar[id] !=0 )
{
remove_entity(avatar[id]);
avatar[id] = 0
}
return PLUGIN_HANDLED
}
That im using to remove the entity
__________________