Raised This Month: $ Target: $400
 0% 

Store data for each or non entity ( Like pev )


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 01-14-2014 , 18:33   Store data for each or non entity ( Like pev )
Reply With Quote #1

Hello alliedmodders!

What i want to do is hold data for each or non entity.
This means i may need to hold data for some entity or for no entity or for all entities.
Using those pevs that engine dont use well there is problem.
I dont know for sure what engine uses and what dont.
I know for now some but this is not enough.

I want x number of avable data store places for each entity.
( x, since i dont know yet how many i need and i like to keep thing dynamic )

First thought of mine was global arrays like this:
entity_something[1300]

But since i can not do x arrays like that this is bad.
Then second idea was cellarray or dynamic array.

Since we can not hook when entity is created i can not make a data store space for that entity.
I have to make that data space for my costom entities and also for those entities what already exists in game like for example player(1-32), map entities, entities what ohter plugin create etc...


What im really doing then its like entity data api like pev in fakemeta and that thing in engine but you can also create those things what hold data... sorry im not very good at explaining.

Does anyone have any idea how should i do it?
Thanks!
.Dare Devil. 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 10:11.


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