Module: Advanced Arrays
Posted: Fri Oct 16, 2026 5:42 pm
This module allows for advanced arrays. It has key/value pairing for strings to ints, floats, strings and linked list support. Read the inc file for the functions.
My rule with this module: "If you have to ask, you don't know". Post a bug if you find one, the included sample file is not required (obviously) but contains some insight on how to, at a very basic level, use linked lists and keys with iterators.
Some notes on this, do not loop from 0 to list_size*()-1, as that will be a more expensive operation that using an iterator (from list_reset() and while(list_next())).
Anyway, this brings dynamic memory/array allocation home to Small =). You don't need to worry about memory issues because you only deal with references.
Enjoy
Update: the downloads below require AMXx (0.20+)
My rule with this module: "If you have to ask, you don't know". Post a bug if you find one, the included sample file is not required (obviously) but contains some insight on how to, at a very basic level, use linked lists and keys with iterators.
Some notes on this, do not loop from 0 to list_size*()-1, as that will be a more expensive operation that using an iterator (from list_reset() and while(list_next())).
Anyway, this brings dynamic memory/array allocation home to Small =). You don't need to worry about memory issues because you only deal with references.
Enjoy
Update: the downloads below require AMXx (0.20+)