i kno if i do this i can get entities by searching for it but it is very tedious
PHP Code:
register_forward(FM_Touch, "touch")
public touch(touched, toucher)
{
static classname[33]
pev(touched, pev_classname, classname, 32)
static mapname[33]
get_mapname(mapname, 32)
log_amx("%s: %s", mapname, classname)
return FMRES_IGNORED
}
so i was wondering how i would get a list of all entities on the current map without having to physically search for it? (i might be using the wrong word here but i think u all should understand what i want)