Error with Audio!! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error with Audio!! (
/showthread.php?tid=368095)
Error with Audio!! +REP -
bhuvanesh - 12.08.2012
pawn Код:
Audio_Play(playerid,1,bool:pause=false,bool:loop=false,bool:downmix=false);
Include audio.inc
and also Audio_SetPack("default_pack"); OnGameModeInt().
I get
pawn Код:
D:\SAN BACK\Area 51 0.3e\gamemodes\a51.pwn(307) : error 017: undefined symbol "pause"
D:\SAN BACK\Area 51 0.3e\gamemodes\a51.pwn(307) : warning 215: expression has no effect
D:\SAN BACK\Area 51 0.3e\gamemodes\a51.pwn(307) : error 017: undefined symbol "loop"
D:\SAN BACK\Area 51 0.3e\gamemodes\a51.pwn(307) : warning 215: expression has no effect
D:\SAN BACK\Area 51 0.3e\gamemodes\a51.pwn(307) : error 017: undefined symbol "downmix"
D:\SAN BACK\Area 51 0.3e\gamemodes\a51.pwn(307) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
+REP if your help works.
Re: Error with Audio!! -
RedJohn - 12.08.2012
Use this
pawn Код:
Audio_OnPlay(playerid, handleid);
instead!
Source:
https://sampforum.blast.hk/showthread.php?tid=82162