[AJUDA] comando /infoorg
#2

pawn Код:
CMD:infoorg(playerid, params[])
{
    if(PlayerInfo[playerid][pMembro] >= 1)
    {
        new org, string[128], DIALOG[1500];
         if(PlayerInfo[playerid][pMembro] > 0)
            return org = PlayerInfo[playerid][pMembro];
        if(PlayerInfo[playerid][pLider] > 0)
            return org = PlayerInfo[playerid][pLider];
        format(string, sizeof(string), "Lнder: %s", InfoOrg[org][Lider]);
        strcat(DIALOG, string);
        format(string, sizeof(string), "Sub-Lнder 555: %s", InfoOrg[org][SubLider555]);
        strcat(DIALOG, string);
        format(string, sizeof(string), "Sub-Lнder 444: %s", InfoOrg[org][SubLider444]);
        strcat(DIALOG, string);
        format(string, sizeof(string), "Vaga 1: %s", InfoOrg[org][Vaga1]);
        strcat(DIALOG, string);
        format(string, sizeof(string), "Vaga 2: %s", InfoOrg[org][Vaga2]);
        strcat(DIALOG, string);
        format(string, sizeof(string), "Vaga 3: %s", InfoOrg[org][Vaga3]);
        strcat(DIALOG, string);
        format(string, sizeof(string), "Vaga 4: %s", InfoOrg[org][Vaga4]);
        strcat(DIALOG, string);
        format(string, sizeof(string), "Vaga 5: %s", InfoOrg[org][Vaga5]);
        strcat(DIALOG, string);
        format(string, sizeof(string), "Vaga 6: %s", InfoOrg[org][Vaga6]);
        strcat(DIALOG, string);
        format(string, sizeof(string), "Vaga 7: %s", InfoOrg[org][Vaga7]);
        strcat(DIALOG, string);
        ShowPlayerDialog(playerid, 6666, DIALOG_STYLE_MSGBOX, "Info Organizaзгo", DIALOG, "Ok","");
    }
    return 1;
}
Reply


Messages In This Thread
[AJUDA] comando /infoorg - by tonisantolia - 23.05.2012, 19:54
Re: [AJUDA] comando /infoorg - by Delete_ - 23.05.2012, 21:21

Forum Jump:


Users browsing this thread: 1 Guest(s)