[AJUDA] comando /infoorg
#1

Galera eu digito o cmd e n acontece nd :S
PHP код:
CMD:infoorg(playerid)
{
    if(
PlayerInfo[playerid][pMembro] >= 1)
    {
        new 
orgstring[128], DIALOG[1500];
         if(
PlayerInfo[playerid][pMembro] > 0)
            return 
org PlayerInfo[playerid][pMembro];
        if(
PlayerInfo[playerid][pLider] > 0)
            return 
org PlayerInfo[playerid][pLider];
        
format(stringsizeof(string), "Lнder: %s"InfoOrg[org][Lider]);
        
strcat(DIALOGstring);
        
format(stringsizeof(string), "Sub-Lнder 555: %s"InfoOrg[org][SubLider555]);
        
strcat(DIALOGstring);
        
format(stringsizeof(string), "Sub-Lнder 444: %s"InfoOrg[org][SubLider444]);
        
strcat(DIALOGstring);
        
format(stringsizeof(string), "Vaga 1: %s"InfoOrg[org][Vaga1]);
        
strcat(DIALOGstring);
        
format(stringsizeof(string), "Vaga 2: %s"InfoOrg[org][Vaga2]);
        
strcat(DIALOGstring);
        
format(stringsizeof(string), "Vaga 3: %s"InfoOrg[org][Vaga3]);
        
strcat(DIALOGstring);
        
format(stringsizeof(string), "Vaga 4: %s"InfoOrg[org][Vaga4]);
        
strcat(DIALOGstring);
        
format(stringsizeof(string), "Vaga 5: %s"InfoOrg[org][Vaga5]);
        
strcat(DIALOGstring);
        
format(stringsizeof(string), "Vaga 6: %s"InfoOrg[org][Vaga6]);
        
strcat(DIALOGstring);
        
format(stringsizeof(string), "Vaga 7: %s"InfoOrg[org][Vaga7]);
        
strcat(DIALOGstring);
        
ShowPlayerDialog(playerid6666DIALOG_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)