Team players
#3

Quote:
Originally Posted by Dwane
Посмотреть сообщение
pawn Код:
CMD:example( playerid, params[ ] )
{
    new
        Txt[ 128 ], count = 0;

    for( new i = 0; i < MAX_PLAYERS; i ++ )
    {
        if( IsPlayerConnected( i ) )
        {
            if(/* your_variable */[ i ][ /* Team */ ] >= 1 )
            {
                count ++;
                format( string, 128, "%d", count ); // hehe format "string" XD
                ShowPlayerDialog( playerid, 9680, DIALOG_STYLE_MSGBOX, "Team", Txt, "Close", "" );
               
            }
        }
    }
    if( count == 0 )
    SendClientMessage( playerid, -1, "No one in that Team!" );
    return 1;
}
lmfao :P
Reply


Messages In This Thread
Team players - by MSI - 23.01.2012, 18:48
Re: Team players - by Konstantinos - 23.01.2012, 19:14
Re: Team players - by Snowman12 - 23.01.2012, 19:19
Re: Team players - by Konstantinos - 23.01.2012, 19:25

Forum Jump:


Users browsing this thread: 1 Guest(s)