native rg_create_entity(const classname[], const bool:useHashTable = false);
classname | Entity classname |
useHashTable | Use this only for known game entities |
Creates an entity using Counter-Strike's custom CreateNamedEntity wrapper.
: Do not use this if you plan to change custom classname an entity after creation, otherwise it will never be release from hash table even if an entity was destroyed, and that to lead table to inflate/memory leaks
Index of the created entity or 0 otherwise
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.