18.10.2011, 09:43
pawn Code:
enum pData
{
Float: pHealth,
Float: pArmor,
pName[MAX_NAME],
pSex,
pAge,
pAcc,
pConnected, // Keep track of if this ID is connected.
pExp,
pMoney,
pBank
};
new pInfo[500][pData];
pawn Code:
new j = 0;
START_BENCH( 499 );
{
if (pInfo[j][pConnected]) {}
j++;
}
FINISH_BENCH( "My Test" );