01.10.2015, 20:07
(
Последний раз редактировалось Lуs; 02.10.2015 в 01:39.
)
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
Erro
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;
}
}
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