SA-MP Forums Archive
Audio problem - 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: Audio problem (/showthread.php?tid=354141)



Audio problem - xRotem - 25.06.2012

Okay i updated my audio to 0.5 and now..
I have 3 errors
Quote:

gamemodes\CGRP.pwn(3457) : error 017: undefined symbol "Audio_Seek"
gamemodes\CGRP.pwn(3427) : error 017: undefined symbol "Audio_Seek"
gamemodes\CGRP.pwn(3427) : error 017: undefined symbol "Audio_Seek"

lines:
Quote:

new localhandle = Audio_Play(playerid,audioid,false,false,false);
Audio_SetVolume(playerid, localhandle, volume);
Audio_Seek(playerid, localhandle, seek);

Quote:

new localhandle = Audio_Play(i,audioid,false,false,false);
Audio_Set3DPosition(i, localhandle, x, y, z, range);
Audio_SetVolume(i, localhandle, volume);
Audio_Seek(i, localhandle, seek);
audiohandle[i][audiohandleglobal] = localhandle;

Quote:

new localhandle = Audio_PlayStreamed(i,url,false,false,false);
Audio_Set3DPosition(i, localhandle, x, y, z, range);
Audio_SetVolume(i, localhandle, volume);
Audio_Seek(i, localhandle, seek);
audiohandle[i][audiohandleglobal] = localhandle;

Please help ;\


Re: Audio problem - xRotem - 25.06.2012

Please help :\
UP!


Re: Audio problem - SDraw - 20.07.2012

Audio_Seek was renamed to Audio_SetPosition.