Creating and assigning data to custom handles
Handles seem like a good way of storing objects, however I can't seem to find any documentation or other plugins that use Handles in this way and thusly how to create data pertaining to a handle and then how to read it.
If context is important, what I'm trying to do is have an inventory based system but the items in the inventory have multiple properties (properties that'd be a mixture of variable types), and so I was thinking I would just have items in these inventories point to a Handle that would contain all the relevant properties. |
Re: Creating and assigning data to custom handles
Use a (sqlite) database?
|
Re: Creating and assigning data to custom handles
There'd be quite a lot of reading in writing, does SQL carry any significant overhead?
|
Re: Creating and assigning data to custom handles
You can't create your own handle types in Sourcepawn. Try the Dynamic thingamajig instead.
|
| All times are GMT -4. The time now is 21:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.