All pastes #578951 Raw Edit

Something

public c v1 · immutable
·published 2007-06-20 13:07 UTC
rendered paste body
public OnPlayerVirtualWorldChange( playerid , newvirtualworld , oldvirtualworld ){    if ( IsPlayerConnected( playerid ) )    {        for ( new x; x < MAX_PLAYERS; x++ )        {			if ( IsPlayerConnected( x ) )			{			    #if defined MG_TD_Included			        if ( IsPlayerTD( x ) ) continue;			    #endif			    if ( newvirtualworld == GetPlayerVirtualWorld( x ) )			    {			        ShowPlayerNameTagForPlayer( playerid , x , 1 );			        ShowPlayerNameTagForPlayer( x , playerid , 1 );			    } else			    {			        ShowPlayerNameTagForPlayer( playerid , x , 0 );			        ShowPlayerNameTagForPlayer( x , playerid , 0 );			    }			}        }    }}