Server stats when logging
#5

All other SendClientMessageEx is working.

I taked stats from this command
PHP код:
CMD:serverstats(playeridparams[])
{
    new 
string[128];

    new 
formatmin[4];
    if(
MPMinute 10format(formatmin,sizeof(formatmin),"0%d",MPMinute);
    else 
format(formatmin,sizeof(formatmin),"%d",MPMinute);
    
format(string,sizeof(string),"Server Statistics - Version %s (recorded since the 8th of November, 2011).",SERVER_GM_TEXT);
    
SendClientMessageEx(playeridCOLOR_WHITEstring);
    
format(stringsizeof(string), "* Objects: %d | Pickups: %d | Map icons: %d | 3D text labels: %d | TextDraws: %d | Loaded houses: %d",CountDynamicObjects(),CountDynamicPickups(),CountDynamicMapIcons(),CountDynamic3DTextLabels(),textdrawscount,MAX_HOUSES);
    
SendClientMessageEx(playeridCOLOR_GREYstring);
    
format(stringsizeof(string), "* Logins: %d | Connections: %d | Registrations: %d | Hackers autobanned: %d | Uptime: %d hours",TotalLoginTotalConnectTotalRegisterTotalAutoBanTotalUptime);
    
SendClientMessageEx(playeridCOLOR_GREYstring);
    
format(stringsizeof(string), "* Players connected: %d | Peak players recorded: %d (%d/%d/%d - %d:%s) | Player vehicles loaded: %d",PlayersConnected,MaxPlayersConnected,MPDay,MPMonth,MPYear,MPHour,formatmin,PlayerCars);
    
SendClientMessageEx(playeridCOLOR_GREYstring);
    return 
1;

And put them in here
PHP код:
    SendClientMessageExplayeridCOLOR_LAWNGREEN" " );
    
SendClientMessageExplayeridCOLOR_LAWNGREEN" " );
    
SendClientMessageExplayeridCOLOR_LAWNGREEN" " );
    
SendClientMessageExplayeridCOLOR_LAWNGREEN" " );
    
SendClientMessageExplayeridCOLOR_LAWNGREEN" " );
    
SendClientMessageExplayeridCOLOR_LIGHTBLUE"---------------------------------------------------" );
    
SendClientMessageExplayeridCOLOR_LIGHTBLUE"Welcome to City Life Roleplay" ); 
    
SendClientMessageExplayeridCOLOR_LIGHTBLUE"Homepage: www.citylife.eu5.org); 
    
SendClientMessageExplayeridCOLOR_LIGHTBLUE"TeamSpeak: Comming soon" ); 
    
SendClientMessageExplayeridCOLOR_LIGHTBLUE"Please wait for this gamemode to load... " ); 
    
SendClientMessageExplayeridCOLOR_LIGHTBLUE"---------------------------------------------------" ); 
Reply


Messages In This Thread
Server stats when logging - by FaZeRs - 04.02.2014, 12:35
Re: Server stats when logging - by BullseyeHawk - 04.02.2014, 12:37
Re: Server stats when logging - by FaZeRs - 04.02.2014, 12:39
Re: Server stats when logging - by BullseyeHawk - 04.02.2014, 12:56
Re: Server stats when logging - by FaZeRs - 04.02.2014, 13:02
Re: Server stats when logging - by BullseyeHawk - 04.02.2014, 13:04
Re: Server stats when logging - by FaZeRs - 04.02.2014, 13:12
Re: Server stats when logging - by BullseyeHawk - 04.02.2014, 13:17
Re: Server stats when logging - by FaZeRs - 04.02.2014, 13:29
Re: Server stats when logging - by BullseyeHawk - 04.02.2014, 13:35

Forum Jump:


Users browsing this thread: 2 Guest(s)