stock
find_entity
Syntax
stock find_entity(start_from_ent, category, value[]) {
Description
Find an entity ID from start_from_ent id (use 0 to start from
the beginning, category is either "classname", "target" or
"targetname", value is the name you are searching for