SA-MP Forums Archive
Function not registered: 'Audio_Seek' - 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: Function not registered: 'Audio_Seek' (/showthread.php?tid=321079)



Function not registered: 'Audio_Seek' - Ahrim - 25.02.2012

Hello again, SA-MP Members,
Sorry for double posting, but my old thread was locked. and this time I won't spam anymore.

First, I've installed the latest Incognito's audio include and plugin, and he changed the Audio_Seek to Audio_SetPosition, so I think that's why this error comes up.

Код:
[22:14:46] Number of vehicle models: 0
[22:14:46] Script[gamemodes/ugrp.amx]: Run time error 19: "File or function is not found"
[22:14:46]    Error: Function not registered: 'Audio_Seek'
How to fix this error? I've tried to change Audio_Seek to Audio_SetPosition, but, it said, unknown directive or something, which mean Audio_SetPosition is not exist.

Please help me.

EDIT: Some how , I think my pawno.exe isn't uploading the new .inc's, so how to do that?
Because when I open my pawno.exe it shows up Audio_Seek at Audio.Inc and some other stuff
but there's no Audio_SetPosition?


Re: Function not registered: 'Audio_Seek' - Ahrim - 26.02.2012

....


Re: Function not registered: 'Audio_Seek' - Ahrim - 26.02.2012

Код:
[08:57:39] Number of vehicle models: 0
[08:57:39] Script[gamemodes/ugrp.amx]: Run time error 19: "File or function is not found"
[08:57:39]    Error: Function not registered: 'Audio_Seek'

[08:57:39]   Loaded 7 filterscripts.
[08:57:39] *** Audio_SetPack: Audio pack set to "default_pack" (transferable and automated)
[08:57:39] *** Audio_SetPack: Error opening "audiopacks/default_pack/example.wav" for CRC check
[08:57:39] *** Audio_SetPack: Error opening "audiopacks/default_pack/example.ogg" for CRC check
[08:57:39] *** Audio_SetPack: Error opening "audiopacks/default_pack/example.mp3" for CRC check
[08:57:39] *** Audio Plugin: Started TCP server on port 6565
[08:57:39]   Loading filterscript 'audio.amx'...
[08:57:39]   Loading filterscript 'hostname.amx'...

[08:57:39] --------------------------------------
[08:57:39] Running Cyber[G]'s Neon FS - By Ahrim Fakhry
--------------------------------------
[08:57:39] 
[08:57:39]   Loading filterscript 'Neons.amx'...

[08:57:39] ----------------------------------------
[08:57:39] Running Cyber[G]'s Random Messages - by Ahrim Fakhry
----------------------------------------
[08:57:39] 
[08:57:39]   Loading filterscript 'RandomMsG.amx'...
[08:57:39]   Loading filterscript 'F_SpeedoMeter.amx'...
[08:57:39]   Loading filterscript 'buttons.amx'...
[08:57:39]   Loading filterscript 'anims.amx'...
[08:57:39] ---------------
[08:57:39] Filterscripts
[08:57:39] 

[08:57:39]  Loaded 4 plugins.
[08:57:39]   Loaded.
[08:57:39]  Loading plugin: nativechecker.so
[08:57:39]   Loaded.

[08:57:39]  ===============================

[08:57:39]    0.3d-R2 500 Players "dnee"

[08:57:39]    © 2009 Alex "******" Cole

[08:57:39]       sscanf plugin loaded.     

[08:57:39]  ===============================

[08:57:39] 
[08:57:39]  Loading plugin: sscanf.so
[08:57:39]   Loaded.

*** Audio Plugin v0.5 by Incognito loaded ***

[08:57:39] 
[08:57:39]  Loading plugin: audio.so
[08:57:39]   Loaded.

*** Streamer Plugin v2.6 by Incognito loaded ***

[08:57:39] 
[08:57:39]  Loading plugin: streamer.so
[08:57:39] --------------
[08:57:39] Server Plugins
[08:57:39] 

v0.3d-R2, ©2005-2011 SA-MP Team
----------------------
SA-MP Dedicated Server
I've the latest audio.inc, but sadly, it don't have Audio_Seek it in since Incognito changed it? so how can I use this then? >.>


Re: Function not registered: 'Audio_Seek' - Mark™ - 26.02.2012

put this in your script after your script includes and recompile
pawn Код:
native Audio_Seek(playerid,handleid,seconds);



Re: Function not registered: 'Audio_Seek' - Ahrim - 26.02.2012

EDIT: Thanks, I'll see if it working or not.


Re: Function not registered: 'Audio_Seek' - Ahrim - 26.02.2012

Hi Xtreme Playa, the same error still occurs.
I think I need help from the author of this Audio Inc something..
Please help me, It's about 3 days already.


Re: Function not registered: 'Audio_Seek' - Ash. - 26.02.2012

Post it on the Audio Plugin thread... then?


Re: Function not registered: 'Audio_Seek' - Ahrim - 26.02.2012

I did that, but it will take another 2-3days ...


Re: Function not registered: 'Audio_Seek' - T0pAz - 26.02.2012

Quote:
Originally Posted by Ahrim
Посмотреть сообщение
I did that, but it will take another 2-3days ...
Seems like your media is corrupted.

Edit: Which OS are you running it?


Re: Function not registered: 'Audio_Seek' - Ahrim - 26.02.2012

CentOS