Quote:
Originally Posted by thetwistedpanda
*Edit for your edit*
The plugin needed a hardcoded limit as I wasn't about to mess with a slew of dynamic arrays for a plugin such as this. It's completely unnecessary. So I just limited the variables to 256, but the plugin can easily be recompiled to support any amount. If a community more than 30 Notices though, they're failing at something.
|
Isn't that what
adt_arrays are for, just like C++* has stl::vector, Java has ArrayList<T>, and C# has List<T>?
*Source and SourceMod have their own data types rather than relying on stl. CVector (from sh_vector.h) for SourceMod extensions for instance.
__________________