/admins
#15

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;
}
Reply


Messages In This Thread
/admins - by nuriel8833 - 19.07.2009, 17:58
Re: /admins - by James_Alex - 19.07.2009, 18:05
Re: /admins - by nuriel8833 - 20.07.2009, 05:26
Re: /admins - by Gamer_Z - 20.07.2009, 06:21
Re: /admins - by nuriel8833 - 20.07.2009, 06:24
Re: /admins - by yezizhu - 20.07.2009, 09:54
Re: /admins - by nuriel8833 - 20.07.2009, 10:02
Re: /admins - by yezizhu - 20.07.2009, 11:04
Re: /admins - by James_Alex - 20.07.2009, 11:20
Re: /admins - by nuriel8833 - 20.07.2009, 11:59
Re: /admins - by yezizhu - 20.07.2009, 12:15
Re: /admins - by MadeMan - 20.07.2009, 12:17
Re: /admins - by yezizhu - 20.07.2009, 12:20
Re: /admins - by MadeMan - 20.07.2009, 12:29
Re: /admins - by Calgon - 20.07.2009, 12:30
Re: /admins - by [BFN]Stunter - 20.07.2009, 12:57
Re: /admins - by Correlli - 20.07.2009, 13:58

Forum Jump:


Users browsing this thread: 3 Guest(s)