20.07.2009, 12:30
Why don't you just let it show each admin on one line? Saves code.
Код:
if ( strcmp ( cmd, "/admins", true ) == 0 )
{
for ( new i = 0; i < MAX_PLAYERS; i++ )
{
if ( IsPlayerConnected ( i ) )
{
if ( AdminVarBlaBla >= 1 )
{
new plname[MAX_PLAYERS];
GetPlayerName( i, plname, sizeof( plname ) );
format ( string, sizeof ( string ), "Admin %s is online (Level %d), ID: %d.", plname, AdminVarBlaBla, i );
SendClientMessage ( playerid, 0xB4B5B7FF, string );
}
}
}
return 1;
}
