Got a few error's
#1

Hey, I am getting a few errors that i don't fully understand, its proboly from the Audio.inc system, but i dont know, could anybody check it out and see if there is any solution on this problem Cheers everyone.

Код:
C:\Users\Admin\Desktop\AMRP\gamemodes\AMRP.pwn(4156) : error 017: undefined symbol "Audio_SetPosition"
C:\Users\Admin\Desktop\AMRP\gamemodes\AMRP.pwn(4188) : error 017: undefined symbol "Audio_SetPosition"
C:\Users\Admin\Desktop\AMRP\gamemodes\AMRP.pwn(4166) : warning 203: symbol is never used: "seek"
C:\Users\Admin\Desktop\AMRP\gamemodes\AMRP.pwn(4218) : error 017: undefined symbol "Audio_SetPosition"
C:\Users\Admin\Desktop\AMRP\gamemodes\AMRP.pwn(4197) : warning 203: symbol is never used: "seek"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
line 4156
Код:
			new localhandle = Audio_Play(playerid,audioid,false,false,false);
			Audio_SetVolume(playerid, localhandle, volume);
			Audio_SetPosition(playerid, localhandle, seek);
line 4188
Код:
					new localhandle = Audio_Play(i,audioid,false,false,false);
					Audio_Set3DPosition(i, localhandle, x, y, z, range);
					Audio_SetVolume(i, localhandle, volume);
					Audio_SetPosition(i, localhandle, seek);
					audiohandle[i][audiohandleglobal] = localhandle;
line 4218
Код:
					new localhandle = Audio_PlayStreamed(i,url,false,false,false);
					Audio_Set3DPosition(i, localhandle, x, y, z, range);
					Audio_SetVolume(i, localhandle, volume);
					Audio_SetPosition(i, localhandle, seek);
					audiohandle[i][audiohandleglobal] = localhandle;
Reply
#2

did you put audio include? if not download it here ;_;
http://forum.sa-mp.com/showthread.ph...io_SetPosition
Reply
#3

Quote:
Originally Posted by jlalt
Посмотреть сообщение
did you put audio include? if not download it here ;_;
http://forum.sa-mp.com/showthread.ph...io_SetPosition
I have the #include <Audio> added, could it be that it's an old version of audio.inc?
Reply
#4

Quote:
Originally Posted by eclipses
Посмотреть сообщение
I have the #include <Audio> added, could it be that it's an old version of audio.inc?
maybe, try to download the latest one
Reply
#5

Worked to add latest version, Thanks <3 SOLVED!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)