Audio Error when compiling - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Audio Error when compiling (
/showthread.php?tid=375804)
Audio Error when compiling -
InfinityCOD - 08.09.2012
Errors are
Код:
C:\Users\What\Desktop\samp server\gamemodes\YGRP.pwn(3342) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack")
C:\Users\What\Desktop\samp server\gamemodes\YGRP.pwn(3395) : error 017: undefined symbol "Audio_Seek"
C:\Users\What\Desktop\samp server\gamemodes\YGRP.pwn(3427) : error 017: undefined symbol "Audio_Seek"
C:\Users\What\Desktop\samp server\gamemodes\YGRP.pwn(3405) : warning 203: symbol is never used: "seek"
C:\Users\What\Desktop\samp server\gamemodes\YGRP.pwn(3457) : error 017: undefined symbol "Audio_Seek"
C:\Users\What\Desktop\samp server\gamemodes\YGRP.pwn(3436) : warning 203: symbol is never used: "seek"
C:\Users\What\Desktop\samp server\gamemodes\YGRP.pwn(60531) : warning 217: loose indentation
C:\Users\What\Desktop\samp server\gamemodes\YGRP.pwn(60532) : error 029: invalid expression, assumed zero
C:\Users\What\Desktop\samp server\gamemodes\YGRP.pwn(60533) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
That is when I'm compiling.
Re: Audio Error when compiling -
shivkat - 08.09.2012
hi post in scripting help
Re: Audio Error when compiling -
SAMP_Luke - 08.09.2012
Post this in scripting help, and also, you need the updated plugins for the correct OS
Re: Audio Error when compiling - Glint - 08.09.2012
Are you using the latest Audio plugin, if so maybe your gamemode is old so, just use the plugin that came with your gamemode pack.
Re: Audio Error when compiling -
InfinityCOD - 08.09.2012
Quote:
Originally Posted by Lexi'
Are you using the latest Audio plugin, if so maybe your gamemode is old so, just use the plugin that came with your gamemode pack.
|
Well, The gamemode is old. I'm trying to update it.
Re: Audio Error when compiling - Glint - 08.09.2012
Quote:
Originally Posted by InfinityCOD
Well, The gamemode is old. I'm trying to update it.
|
If it is old then some of the functions are based on the old plugin, and you are trying to use the new one which doesn't have the old functions you can either use the old plugin, or you can change the functions to support the new one.
i would of been glad to help you but i don't have any experiences with the Audio plugin.
Re: Audio Error when compiling -
InfinityCOD - 08.09.2012
Some other people get this problem, They say to Change Audio_Seek to Audio_SetPosition. I did that, Problem still occurs.
Re: Audio Error when compiling -
Mark™ - 08.09.2012
Quote:
Originally Posted by InfinityCOD
Some other people get this problem, They say to Change Audio_Seek to Audio_SetPosition. I did that, Problem still occurs.
|
That's because Incognito renamed Audio_Seek to Audio_SetPosition in v0.5 of audio plugin. So you need to rename that native in your script too. If your still experiencing errors, then post em' here.