View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-16-2012 , 13:06   Re: [SM] Notices v1.0.1 (Updated: 3/15)
Reply With Quote #7

Quote:
Originally Posted by thetwistedpanda View Post
*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.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 03-16-2012 at 13:09.
Powerlord is offline