using dynamic arrays...
Code:
CreateArray
Syntax:
native Handle:CreateArray(blocksize=1, startsize=0);
Usage:
blocksize The number of cells each member of the array can hold. For example, 32 cells is equivalent to: new Array[X][32]
startsize Initial size of the array. Note that data will NOT be auto-intialized.
PHP Code:
new Handle:g_SteamIdArray;
g_SteamIdArray = CreateArray(21); //<-- Number of cells each member can have..
PushArrayString(g_SteamIdArray , SteamIdGoesHere); //<--- To set a string value