Quote:
Originally Posted by jimaway
Code:
new istrlen
for( new iIndex, i; i < iNum; i++ )
{
if( g_iPlayer[ ( iIndex = szPlayers[ i ] ) /* Check who has a vip flag */ ][ VIP ] & g_iSettings[ Access_OnlineList ] )
{
istrlen += formatex( szBuffer[istrlen], charsmax(szBuffer) - istrlen, "%s,",g_iPlayer[ iIndex ][ Name ]);
}
}
szBuffer[istrlen-1] = '.'
|
It's not what i want, what i want is adding symbol ( , ) after vip names except for the last one without creating a double loop in the same function
__________________