Raised This Month: $51 Target: $400
 12% 

Solved Question about CS_CREATE_ENTITY


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
marcelowzd
Senior Member
Join Date: Feb 2011
Location: São Paulo, Brazil
Old 03-25-2018 , 12:04   Question about CS_CREATE_ENTITY
Reply With Quote #1

So first of all i'm creating this topic because i can't test it right now.

When i use cs_create_entity, do i need to use some of the already existing entities (like info_target) or i can create one with any given name, for example, cs_create_entity( "MyCustomEnt" ) and hook it with RegisterHam( Ham_Think, "MyCustomEnt", "OnEntityThink", 1 ) ?

I believe engine can do this (It is based os classname according to the AMXX API Documentation) or maybe i'm wrong?

Answer -> Still need to create an entity with a valid name

Last edited by marcelowzd; 03-26-2018 at 16:51.
marcelowzd is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 03-25-2018 , 12:33   Re: Question about CS_CREATE_ENTITY
Reply With Quote #2

No it should be registered classname
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode