Raised This Month: $ Target: $400
 0% 

Custom entities


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-23-2011 , 16:22   Re: Custom entities
Reply With Quote #9

Quote:
Originally Posted by ConnorMcLeod View Post
How can the engine create a "info_open" entity ?
They can exist on map, but engine deletes them upon loading because they are not valid. You have to hook it in pfn_keyvalue, and check "classname", and then create new entity with something like info_target, and then setting pev_classname.
__________________
xPaw is offline
 



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 19:45.


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