Raised This Month: $ Target: $400
 0% 

Store data for each or non entity ( Like pev )


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-14-2014 , 23:36   Re: Store data for each or non entity ( Like pev )
Reply With Quote #1

With any plugin you can hook FM_CreateNamedEntity, FM_CreateEntity

With orpheu you can hook engfunc() then filter EngFunc_CreateEntity and EngFunc_CreateNamedEntity.
You can't hook create_entity for now because there is a problem between engine (hlds) and engine (amxx module) library names, unless Arkshine has fixed it but i don't think so.

So yes, you can hook entities creations, and you should be able to hook entities removal as well.


Anyway, such an api seems to be a waste of cpu/memory if it is done in a plugin, and should be done in a module.
Also, i don't see how such an api would be usefull, could you explain what you have in mind ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
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 10:11.


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