Raised This Month: $ Target: $400
 0% 

Solved How to set dynamic array size


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-12-2023 , 05:21   Re: How to set dynamic array size
Reply With Quote #5

A struct would probably be better suited for this, various datatype entries, no size limit, then you can store the struct inside an ArrayList and read/update as you need. Are you updating points to a KV file? The more entries you have the slower it'll be, suggest using a database instead. There are plenty of plugins already existing with various point style systems, suggest looking at those. KV system is slow for something like this where it's constantly being read/written to.
__________________

Last edited by Silvers; 02-12-2023 at 05:22.
Silvers 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 00:58.


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