[ajuda]Infoorg problema na hora de copila
#1

bom galera eu to com um infoorg aqui so que tem um problema e nesse codico abaicho eu coloco ele tipo aonde pede pra coloca e tipo o na hora que ta copilando nгo da erro nada ele simplistamente da erro no pawno tipo como vo diser o pawno para de copila e da envio de erro,tipo ele da um erro que presisa ser fechado envio de relatorio de erros tipo oque tem dee erado no codico abaixo ajuda =D.


pawn Код:
if(PlayerInfo[playerid][pMembro] > 0)// ou if(PlayerInfo[playerid][pMember] > 0)
        {
         new orgp[60];
         new S[40],V1[40],V2[40],V3[40],V4[40],V5[40],V6[40],V7[40],V8[40],V9[40],V10[40],V11[40],V12[40],V13[40],V14[40],V15[40];
         if(PlayerInfo[playerid][pLider] == 0)// ou if(PlayerInfo[playerid][pLeader] == 0)
         {
          format(orgp,70,"orgs/%i.ini",PlayerInfo[playerid][pMembro]);// ou format(orgp,70,"orgs/%i.ini",PlayerInfo[playerid][pMember]);
          strcat(S,dini_Get(orgp,"sub"));
          strcat(V1,dini_Get(orgp,"Vaga1"));
          strcat(V2,dini_Get(orgp,"Vaga2"));
          strcat(V3,dini_Get(orgp,"Vaga3"));
          strcat(V4,dini_Get(orgp,"Vaga4"));
          strcat(V5,dini_Get(orgp,"Vaga5"));
          strcat(V6,dini_Get(orgp,"Vaga6"));
          strcat(V7,dini_Get(orgp,"Vaga7"));
          strcat(V8,dini_Get(orgp,"Vaga8"));
          strcat(V9,dini_Get(orgp,"Vaga9"));
          strcat(V10,dini_Get(orgp,"Vaga10"));
          strcat(V11,dini_Get(orgp,"Vaga11"));
          strcat(V12,dini_Get(orgp,"Vaga12"));
          strcat(V13,dini_Get(orgp,"Vaga13"));
          strcat(V14,dini_Get(orgp,"Vaga14"));
          strcat(V15,dini_Get(orgp,"Vaga15"));
          if(strcmp(V1,PlayerNameez(playerid),true) && strcmp(V2,PlayerNameez(playerid),true)
          && strcmp(V3,PlayerNameez(playerid),true) && strcmp(V4,PlayerNameez(playerid),true)
          && strcmp(V5,PlayerNameez(playerid),true) && strcmp(V6,PlayerNameez(playerid),true)
          && strcmp(V7,PlayerNameez(playerid),true) && strcmp(V8,PlayerNameez(playerid),true)
          && strcmp(V9,PlayerNameez(playerid),true) && strcmp(V10,PlayerNameez(playerid),true)
          && strcmp(V11,PlayerNameez(playerid),true) && strcmp(V12,PlayerNameez(playerid),true)
          && strcmp(V13,PlayerNameez(playerid),true) && strcmp(V14,PlayerNameez(playerid),true)
          && strcmp(V15,PlayerNameez(playerid),true) && strcmp(S,PlayerNameez(playerid),true))
          {
           gTeam[playerid] = 3;
           PlayerInfo[playerid][pTeam] = 3;
           PlayerInfo[playerid][pMembro] = 0;// ou PlayerInfo[playerid][pMember] = 0;
           PlayerInfo[playerid][pCargo] = 0;// ou PlayerInfo[playerid][pRank] = 0;
           PlayerInfo[playerid][pChar] = 0;
           PlayerInfo[playerid][pFMember] = 255;
           new rand = random(sizeof(CIV));
           SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0);
           PlayerInfo[playerid][pModel] = CIV[rand];
           MedicBill[playerid] = 0;
           SpawnPlayer(playerid);
           MedicBill[playerid] = 0;
           SendClientMessage(playerid,0xC0C0C0AA,"Voce foi demitido enquanto estava off,Agora e um civil novamente!");
          }
         }
        }
        if(PlayerInfo[playerid][pLider] > 0)// ou if(PlayerInfo[playerid][pLeader] == 0)
        {
         new orgp[60];
         new L[40];
         format(orgp,70,"orgs/%i.ini",PlayerInfo[playerid][pLider]);
         strcat(L,dini_Get(orgp,"Lider"));
         if(strcmp(L,PlayerNameez(playerid),true))
         {
          gTeam[playerid] = 3;
          PlayerInfo[playerid][pTeam] = 3;
          PlayerInfo[playerid][pLider] = 0;// ou PlayerInfo[playerid][pLeader] = 0;
          PlayerInfo[playerid][pCargo] = 0;// ou PlayerInfo[playerid][pRank] = 0;
          PlayerInfo[playerid][pChar] = 0;
          PlayerInfo[playerid][pFMember] = 255;
          new rand = random(sizeof(CIV));
          SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0);
          PlayerInfo[playerid][pModel] = CIV[rand];
          MedicBill[playerid] = 0;
          SpawnPlayer(playerid);
          SendClientMessage(playerid,0xC0C0C0AA,"Voce foi demitido enquanto estava off,Agora e um civil novamente!");
         }
        }//so isto no public OnPlayerLogin(playerid,password[])
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)