[HELP]Command
#3

Here is the picture who show me dialog, but don`t show me how long player was on the server http://prntscr.com/6edcmd
PHP код:
    new minshourday;
    new 
aktivnost[1024];
    new 
sendernames[MAX_PLAYER_NAME];
    
    
format(aktivnost,1024,"%s{FF0000}|----------------------------------------------------------------------|\n\n",aktivnost);
    for(new 
place 0place != 30; ++place)
    {
    
/*if (0 == playerOnlineTimes[place][1]) {
    break;
    }*/
    
ConvertTime(playerOnlineTimes[place][1], minshourday);
    
format(aktivnost,1024,"%s{FFFFFF}%d.%s:%d dana %d h %d min %d sec\n",aktivnost,place 1dayhourminsGetPlayerName(playerOnlineTimes[place][0], sendernamessizeof(sendernames)));
    }
    
format(aktivnost,1024,"%s{FF0000}|----------------------------------------------------------------------|\n\n",aktivnost);
    
ShowPlayerDialog(playerid713DIALOG_STYLE_MSGBOX"{FF0000}GAMING {FFFFFF} Top Lista 30 sa najvise ne-afk vreme na serveru"aktivnost"OK""OK");
    return 
1;

Reply


Messages In This Thread
[HELP]Command - by Markoni990 - 08.03.2015, 19:09
Respuesta: [HELP]Command - by Markoni990 - 08.03.2015, 19:35
Respuesta: [HELP]Command - by Markoni990 - 08.03.2015, 20:06
Respuesta: [HELP]Command - by Markoni990 - 08.03.2015, 21:11
Respuesta: [HELP]Command - by Markoni990 - 08.03.2015, 21:47
Re: [HELP]Command - by Passmerd - 08.03.2015, 21:52
Respuesta: [HELP]Command - by Markoni990 - 08.03.2015, 21:53
Respuesta: [HELP]Command - by Markoni990 - 08.03.2015, 23:22
Respuesta: [HELP]Command - by Markoni990 - 08.03.2015, 23:27
Respuesta: [HELP]Command - by Markoni990 - 08.03.2015, 23:50

Forum Jump:


Users browsing this thread: 1 Guest(s)