SA-MP Forums Archive
+rep to anyone who tries to help - 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: +rep to anyone who tries to help (/showthread.php?tid=614080)



+rep to anyone who tries to help - NealPeteros - 04.08.2016

Hi there! Got some errors while making a script
Код:
(3452) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack")
(3505) : error 017: undefined symbol "Audio_Seek"
(3537) : error 017: undefined symbol "Audio_Seek"
(3515) : warning 203: symbol is never used: "seek"
(3567) : error 017: undefined symbol "Audio_Seek"
(3546) : warning 203: symbol is never used: "seek"
Lines:
Код:
(3452)
public Audio_OnSetPack(audiopack[])
{
	foreach(Player, i)
	{
	    Audio_TransferPack(i);
	}
	return 1;
}
(3505)
Audio_Seek(playerid, localhandle, seek);
(3537)
Audio_Seek(i, localhandle, seek);
(3515)
SendAudioToRange(audioid, volume, seek, Float:x, Float:y, Float:z, Float:range)
(3567)
Audio_Seek(i, localhandle, seek);
(3546)
stock SendAudioURLToRange(url[], volume, seek, Float:x, Float:y, Float:z, Float:range)
Thanks


Re: +rep to anyone who tries to help - jlalt - 04.08.2016

use search next time before posting thread sir

https://sampforum.blast.hk/showthread.php?tid=321242

Quote:
Originally Posted by [HK]Ryder[AN]
Посмотреть сообщение
The problem is that Incognito changed Audio_Seek to Audio_SetPosition
Change all your Audio_Seek to Audio_SetPosition



Re: +rep to anyone who tries to help - NealPeteros - 04.08.2016

Thanks. What about line 3452?


Re: +rep to anyone who tries to help - jlalt - 04.08.2016

Add this on line 3451
PHP код:
forward Audio_OnSetPack(audiopack[]) 



Re: +rep to anyone who tries to help - NealPeteros - 04.08.2016

Thanks.
Код:
forward Audio_OnSetPack(audiopack[]);
+rep