native

has_map_ent_class

Syntax

native bool:has_map_ent_class(const classname[]);

Description

Returns if a map contains at least one entity with the provided class name.

Parameters

classname Entity classname to match

Return

True if an entity is found, false otherwise