some questions
#10

pawn Код:
stock FixPlayerColors()
{
    for( new i = 0; i < MAX_PLAYERS; i++) // foreach(Player, i)
    {
        if ( ! IsPlayerConnected( i ) ) continue;
        switch ( team[i] ) // or your team identifier
        {
            case team_red: // or your red team identifier
            {
                SetPlayerColor( i , 0xFF0000FF );      
            }
            case team_blue: // or your blue team identifier
            {
                SetPlayerColor( i , 0x0000FFFF );
            }
        }
    }
    return true;
}
Reply


Messages In This Thread
some questions - by the0 - 04.09.2011, 01:07
Re: some questions - by admantis - 04.09.2011, 01:44
Re: some questions - by the0 - 04.09.2011, 03:44
Re: some questions - by Kingunit - 04.09.2011, 03:50
Re: some questions - by Steven82 - 04.09.2011, 04:47
Re: some questions - by dowster - 04.09.2011, 05:08
Re: some questions - by the0 - 04.09.2011, 06:52
Re: some questions - by the0 - 04.09.2011, 23:39
Re: some questions - by Yamoo - 04.09.2011, 23:54
Re: some questions - by admantis - 05.09.2011, 00:19

Forum Jump:


Users browsing this thread: 5 Guest(s)