rg_create_entity

Синтаксис

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 use a custom classname

Връщаща стойност

Index of the created entity or 0 otherwise