[ajuda]/admins por dialog
#7

Quote:
Originally Posted by paulor
Посмотреть сообщение
strcat o primeiro parametro й o destino!
pawn Код:
COMMAND:admins(playerid, params[])
{
    new s[128], ss[128];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(PlayerInfo[i][pAdmin] > 0)
        {
            GetPlayerName(i, Jogador, sizeof(Jogador));
            format(ss, 128, "{FFFFFF}%s {FF00FF}[%s]", Jogador, admins(i));
            strcat(s, ss);
        }
    }
    ShowPlayerDialog(playerid, DIALOG_Admins, DIALOG_STYLE_MSGBOX, " {FF00FF}*** {FFFFFF}ADMIN'S ONLINE {FF00FF}***", s, "fechar", "");
    return true;
}
Obg Paulor, +rep
Reply


Messages In This Thread
[ajuda]/admins por dialog - by .ThePro - 06.05.2012, 22:18
Re: [ajuda]/admins por dialog - by kinhobryant - 06.05.2012, 22:20
Re: [ajuda]/admins por dialog - by .ThePro - 06.05.2012, 22:25
Re: [ajuda]/admins por dialog - by Hiuship - 06.05.2012, 22:30
Re: [ajuda]/admins por dialog - by kinhobryant - 06.05.2012, 22:31
Re: [ajuda]/admins por dialog - by paulor - 06.05.2012, 22:36
Re: [ajuda]/admins por dialog - by .ThePro - 06.05.2012, 22:50
Re: [ajuda]/admins por dialog - by paulor - 06.05.2012, 23:16

Forum Jump:


Users browsing this thread: 1 Guest(s)