char text[64];
int i;
int count = 0;
for ( i = 0; i < SAMP_MAX_PLAYERS; i++ )
{
D3DCOLOR color;
if ( g_Players->iIsListed[i] != 1 )
continue;
if(g_Players->pRemotePlayer[i] == NULL)
continue;
if( vect3_near_zero(g_stStreamedOutInfo.fPlayerPos[i])
&& (g_Players->pRemotePlayer[i]->pPlayerData == NULL ||
g_Players->pRemotePlayer[i]->pPlayerData->pSAMP_Actor == NULL) )
continue;
color = samp_color_get( i );
sprintf(text, "%s[%d]", getPlayerName(i), i);
pD3DFont->PrintShadow(500, pPresentParam.BackBufferHeight / 2 + count * 20, color, text);
count++;
}