i have updated the audio plugin ....
#1

i have updated the audio plugin due i will move my serverfrom lunix to windows and when iam compiling i got those

those :

Код:
MaServer\gamemodes\UGRP.pwn(3436) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack") MaServer\gamemodes\UGRP.pwn(3489) : error 017: undefined symbol "Audio_Seek" MaServer\gamemodes\UGRP.pwn(3521) : error 017: undefined symbol "Audio_Seek" MaServer\gamemodes\UGRP.pwn(3499) : warning 203: symbol is never used: "seek" MaServer\gamemodes\UGRP.pwn(3551) : error 017: undefined symbol "Audio_Seek" MaServer\gamemodes\UGRP.pwn(3530) : warning 203: symbol is never used: "seek" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.

how to fix that ?
Reply
#2

You have to forward the function "Audio_Seek"
Like

forward Audio_Seek
Reply
#3

uh ? iam not understand
Reply
#4

open your gamemode.pwn search
Audio_Seek
replace with
Audio_SetPosition
because the creator of audio plugin had change function
Reply
#5

kk nice fixed but i got 1 more eroors

Код:
C:\Users\Administrator\Desktop\MaServer\gamemodes\UGRP.pwn(3436) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warnings.
??!??
Reply
#6

any help ?
Reply
#7

you have to forward it..
like this
pawn Код:
forward MyFunc();
public MyFunc()
{

}
Reply
#8

huh ? sorry bro iam not understand
Reply
#9

public Audio_OnSetPack(audiopack[])
{
foreach(Player, i)
{
Audio_TransferPack(i);
}
return 1;
}

this is in the script change it to
Reply
#10

add this above the public:
pawn Код:
forward Audio_OnSetPack(audiopack[]);
It will look like this:
pawn Код:
forward Audio_OnSetPack(audiopack[]);
public Audio_OnSetPack(audiopack[])
{
foreach(Player, i)
{
Audio_TransferPack(i);
}
return 1;
}
Reply


Forum Jump:


Users browsing this thread: