[Ajuda] invalid function or declaration
#1

Bom, eu estou com um problema na hora de compilar, esta dando o erro invalid function or declaration, ja fiz de tudo mas nгo consigo arrumar
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, DistanceSom, SomPos[0], SomPos[1], SomPos[2]))
    {
         if(escutandosom[playerid] == 0)
         {
              for(new x = 0;  x < MAX_PLAYERS; x++)
              {
                   if(x != playerid)
                   {
                        if(donofesta[x] == 1)
                        {
                format(gstring, sizeof(gstring), "%s", urlsom[i]);
                             PlayAudioStreamForPlayer(playerid, gstring, SomPos[0], SomPos[1], SomPos[2], DistanceSom, 1);
                             escutandosom[playerid] = 1;
                             return 1;
                        }
                      }
               }
         }
    }
    else if(!IsPlayerInRangeOfPoint(playerid, DistanceSom, SomPos[0], SomPos[1], SomPos[2]))
    {
         if(escutandosom[playerid] == 1)
         {
              escutandosom[playerid] = 0;
         }
    }
Erro
pawn Код:
C:\Users\PC ToNN\Documentos\GM\gamemodes\GM.pwn(19286) : error 010: invalid function or declaration
C:\Users\PC ToNN\Documentos\GM\gamemodes\GM.pwn(19288) : error 010: invalid function or declaration
C:\Users\PC ToNN\Documentos\GM\gamemodes\GM.pwn(19290) : error 010: invalid function or declaration
C:\Users\PC ToNN\Documentos\GM\gamemodes\GM.pwn(19292) : error 010: invalid function or declaration
C:\Users\PC ToNN\Documentos\GM\gamemodes\GM.pwn(19294) : error 010: invalid function or declaration
C:\Users\PC ToNN\Documentos\GM\gamemodes\GM.pwn(19299) : error 010: invalid function or declaration
C:\Users\PC ToNN\Documentos\GM\gamemodes\GM.pwn(19305) : error 010: invalid function or declaration
C:\Users\PC ToNN\Documentos\GM\gamemodes\GM.pwn(19307) : error 010: invalid function or declaration
Reply
#2

posta as linhas ai й mais facil
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)