Store a value on an entity
wich pev_ can i "safely" use for storing a userid? (for example)
i've tried with pev_euser1 and works good, but i dont know whats the real use for that value. The entity that im using represents a dead player. Thanks. |
Re: Store a value on an entity
Use your own storage for that. You don't know how the engine may use those, so I prefer not to mess with them. Any specific reason you can't use a global array or something like that?
|
Re: Store a value on an entity
i have an entity for every player (32) so, to find the player for an entity i would need to loop over and over the 32 player array, VERY frequently. I just wanted to know if there was a faster way. (i like to optimize my plugins :P)
|
Re: Store a value on an entity
Quote:
|
Re: Store a value on an entity
Ok thanks. If the fourm didnt had a block your karma would be over the limit :D
|
| All times are GMT -4. The time now is 09:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.