how to make /members without bug
#6

i just found this idk if it fits for you
pawn Код:
COMMAND:members( playerid, params[ ] )
{
    for ( new i, p = GetMaxPlayers( ); i < p; i ++ )
    {
        if ( !IsPlayerConnected( playerid ) )
            continue;

        new iName[ 24 ], nameFormat[ 32 ], totalString[ 500 ] = "No one";
        if ( gTeam[ i ] == gTeam[ playerid ] )
        {
            GetPlayerName( playerid, iName, 24 );

            format( nameFormat, 32, "%s \n", nameFormat );

            strcat( totalString, nameFormat );
        }
    }

    ShowPlayerDialog( playerid, 1777, DIALOG_STYLE_LIST, "Gang members", totalString, "Okay", "Okay" );

    return 1;
}
Reply


Messages In This Thread
how to make /members without bug - by Lloyde - 16.11.2013, 22:30
Re: how to make /members without bug - by DeStunter - 16.11.2013, 22:37
Re: how to make /members without bug - by ***Niko*** - 16.11.2013, 22:41
Re: how to make /members without bug - by erminpr0 - 16.11.2013, 22:47
Re: how to make /members without bug - by Lloyde - 17.11.2013, 00:04
Re: how to make /members without bug - by ***Niko*** - 17.11.2013, 00:28

Forum Jump:


Users browsing this thread: 1 Guest(s)