This site has been archived and made available for preservation purposes. No edits can be made.

GetList

This is an old revision of this page, as edited 04-29-2012, 02:00 AM by foxtacles (contribs). It may differ significantly from the current revision.
Returns a IDVector of all instances of a given vaultmp::Type.

[top]Declaration

Code cpp:
VAULTSCRIPT vaultmp::IDVector (*GetList)(vaultmp::Type);
native GetList(Type:type, id[]);

[top]Parameters

vaultmp::Type - the type
id (PAWN only) - an array large enough to hold all instances. See GetCount

[top]Return value

The C++ version returns a vaultmp::IDVector. The PAWN version returns the number of actually stored IDs.