SA-MP Forums Archive
[AJUDA] Problema com FS - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] Problema com FS (/showthread.php?tid=346023)



[AJUDA] Problema com FS - Kleinowski - 27.05.2012

Baixei um FS de sistema de Admin, que jб tem sistema de Login junto, ae eu uso ele o .amx e .pwn que usei funciona direitinho, ae na hora que eu vo compila sem mecher nada:

Код:
C:\Users\Kleinowski\Desktop\Iniciante\filterscripts\lladmin.pwn(1133) : error 017: undefined symbol "PlayAudioStreamForPlayer"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Linha:

Код:
 PlayAudioStreamForPlayer(i, String, 0, 0, 0, 0, 0);
Comando:

Код:
CMD:falar(playerid, params[])
{
    new Fala[128];
    if(PlayerDados[playerid][Admin] < 3) return SendClientMessage(playerid, BRANCO, "Vocк precisa ser admin nivel 3 para usar este comando!");
    if(PlayerDados[playerid][Trabalhando] == false) return SendClientMessage(playerid, CINZA, "Vocк precisa /trabalhar para usar esse comando!");
	if(sscanf(params, "s", Fala)) return SendClientMessage(playerid, CINZA, "Use /falar [texto]"), SendClientMessage(playerid, CINZA, "Use o comando para falar usando a voz do ****** tradutor");
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
	    format(String, sizeof(String), "http://translate.******.com/translate_tts?tl=pt&q=%s", Fala);
		PlayAudioStreamForPlayer(i, String, 0, 0, 0, 0, 0);
	}
	format(String, sizeof(String), "[LL ADMIN] Admin {1B95E0}%s{00C2EC} Falando!", Nome(playerid));
	SendClientMessageToAll(AZUL_CLARO, String);
	return 1;
}
Se eu removo o Comando, tiro a linha do erro, ou outras coisas, quando entro no Server й a mesma coisa que tivesse sem o FS.


Re: [AJUDA] Problema com FS - Ericky: - 27.05.2012

atualize suas includes


Re: [AJUDA] Problema com FS - blacktrindade - 27.05.2012

verifica se o plugin/include ta definido/na pasta plugins e configurado no server.cfg


Re: [AJUDA] Problema com FS - Lucas_Alemao - 27.05.2012

basta atualizar as includes (:


Re: [AJUDA] Problema com FS - Kleinowski - 27.05.2012

Mas eu to com as includes atualizadas


Re: [AJUDA] Problema com FS - EditPawn - 27.05.2012

Como nesse tуpico.... https://sampforum.blast.hk/showthread.php?tid=323078


Tente colocar isso no Topo
pawn Код:
native PlayAudioStreamForPlayer(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0);
native StopAudioStreamForPlayer(playerid);
Vai que da certo rsrs


Re: [AJUDA] Problema com FS - Lucas_Alemao - 27.05.2012

tenta por no topo do code:
pawn Код:
native PlayAudioStreamForPlayer(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0)
e certifique-se de estar com a versгo + recente do samp

~edit~

foi mal nгo vi q tinham postado ja


Re: [AJUDA] Problema com FS - Kleinowski - 27.05.2012

SAMP 0.3e
Eu coloquei e nгo da erro pra compilar, mas й a mesma coisa que falei, como se o FS nгo tivesse sido colocado. Mas estб colocado '-'


Re: [AJUDA] Problema com FS - EditPawn - 27.05.2012

Eu testei aki, esta funcionando perfeitamente


Re: [AJUDA] Problema com FS - Kleinowski - 27.05.2012

Aqui nгo da