PDA

View Full Version : [HELP] Audio_Seek Warning - Error [+REP]


Gregory00
28/12/2013, 09:53 PM
I am trying to update my audio. Yes , I have already the audio.inc .

C:\Users\User\Desktop\Private\h\gamemodes\test2.pw n(3487) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack")
C:\Users\User\Desktop\Private\h\gamemodes\test2.pw n(3540) : error 017: undefined symbol "Audio_Seek"
C:\Users\User\Desktop\Private\h\gamemodes\test2.pw n(3572) : error 017: undefined symbol "Audio_Seek"
C:\Users\User\Desktop\Private\h\gamemodes\test2.pw n(3550) : warning 203: symbol is never used: "seek"
C:\Users\User\Desktop\Private\h\gamemodes\test2.pw n(3602) : error 017: undefined symbol "Audio_Seek"
C:\Users\User\Desktop\Private\h\gamemodes\test2.pw n(3581) : warning 203: symbol is never used: "seek"

Rock
28/12/2013, 09:59 PM
Install this. (http://forum.sa-mp.com/showthread.php?t=82162)

Gregory00
28/12/2013, 10:03 PM
oohhh my god -_- As I said.."I am trying to update my audio.." <- I already installed it. It gives me errors and warnings when I try to recompile it!!!

Rock
28/12/2013, 10:08 PM
oohhh my god -_- As I said.."I am trying to update my audio.." <- I already installed it. It gives me errors and warnings when I try to recompile it!!!
Ohh sorry, my bad.
Look in the updated audio.inc or whatever it's called and see if Audio_Seek and Audio_OnSetPack have been renamed.

Gregory00
28/12/2013, 10:09 PM
Renamed to?

EDIT: Yes they are..I cant find anything.

Rock
28/12/2013, 10:14 PM
Yes they are..I cant find anything.
That means those functions are no longer used in the plugin with the new update and you can delete them from your script.

Gregory00
28/12/2013, 10:16 PM
How? :P
I am newbie.

Rock
28/12/2013, 10:19 PM
Search where Audio_Seek is used and delete that part of code without damaging the rest of it.
Example if it's used in a command, delete it.

Gregory00
28/12/2013, 10:26 PM
Should I worry or something?

C:\Users\User\Desktop\Private\h\gamemodes\test2.pw n(3488) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack")
C:\Users\User\Desktop\Private\h\gamemodes\test2.pw n(13128) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Private\h\gamemodes\test2.pw n(13717) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Private\h\gamemodes\test2.pw n(31447) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Private\h\gamemodes\test2.pw n(55436) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Private\h\gamemodes\test2.pw n(77048) : warning 202: number of arguments does not match definition