View Single Post
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 12-13-2017 , 09:40   Re: Question creating an entity "classname"
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
I would guess that the CreateNamedEntity function validates the entity's classname before creating it. And since "my_classname" is not a valid classname, it won't create it.
Yes Logical.
So what can be understood is that there is no problem if i use it this way If the classname is on that map ?
example :
PHP Code:
new ent engfunc(EngFunc_CreateNamedEntity,engfunc(EngFunc_AllocString,"info_player_start")) 
__________________

Last edited by abdobiskra; 12-13-2017 at 09:41.
abdobiskra is offline
Send a message via Skype™ to abdobiskra