[AJUDA]Erro Play Audio? - 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]Erro Play Audio? (
/showthread.php?tid=342109)
[AJUDA]Erro Play Audio? -
Jake_Dunlapp - 12.05.2012
PHP код:
public OnPlayerConnect(playerid)
{
PlayAudioStreamForPlayer(playerid, "http://somafm.com/tags.pls");
new pname[MAX_PLAYER_NAME];
new string [125];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
SetPlayerColor(playerid, 0xFFFFFFFF);
format(string, sizeof(string), "{FFFF00}[TDM] {FFFFFF}%s {CD853F} Entrou No Servidor!!!", pname);
SendClientMessageToAll(0x00FFFFFF, string);
return 1;
}
PHP код:
C:\Documents and Settings\Administrador\Desktop\Jogos\DS\BrasilUltimateDeathmatch\gamemodes\TDM.pwn(155) : error 017: undefined symbol "PlayAudioStreamForPlayer"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Re: [AJUDA]Erro Play Audio? -
Joker_OutLock - 12.05.2012
Atualiza sua include A_SAMP se nгo der faзa o esquema abaixo:
pawn Код:
//нnicio do gm
native PlayAudioStreamForPlayer(playerid, url[]);
native StopAudioStreamForPlayer(playerid);
Re: [AJUDA]Erro Play Audio? -
Jake_Dunlapp - 12.05.2012
Quote:
Originally Posted by Joker_OutLock
Atualiza sua include A_SAMP se nгo der faзa o esquema abaixo:
pawn Код:
//нnicio do gm native PlayAudioStreamForPlayer(playerid, url[]); native StopAudioStreamForPlayer(playerid);
|
Funcionou Amanha Do Rep+ Hj Ja Te Dei Rep
Re: [AJUDA]Erro Play Audio? -
Joker_OutLock - 12.05.2012
Quote:
Originally Posted by Jake_Dunlapp
Funcionou Amanha Do Rep+ Hj Ja Te Dei Rep
|
Blz.