Quote:
Originally Posted by Switch
What's the function that returns what you have?
|
For returning the items, I have this in the BackpackDB:
PHP Code:
public function RetrieveItems( pl, backpack )
{
return this.(pl @"_backpack_"@ backpack);
}
And for returning the stats of those items, I have this in the ItemDB:
PHP Code:
public function ReturnItemStats( item, itemCount )
{
for ( temp.v = 0; temp.v < itemCount; temp.v++; ) {
return this.(@ item)[temp.v];
echo("Debug: "@ this.(@ item)[temp.v]);
}
}