error 035: argument type mismatch (argument 1)
#1

pawn Код:
C:\Users\Darlequinn\Downloads\samp03z_svr_R1_win32\gamemodes\HSRP.pwn(3416) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack")
C:\Users\Darlequinn\Downloads\samp03z_svr_R1_win32\gamemodes\HSRP.pwn(3469) : error 035: argument type mismatch (argument 1)
C:\Users\Darlequinn\Downloads\samp03z_svr_R1_win32\gamemodes\HSRP.pwn(3501) : error 035: argument type mismatch (argument 1)
C:\Users\Darlequinn\Downloads\samp03z_svr_R1_win32\gamemodes\HSRP.pwn(3479) : warning 203: symbol is never used: "seek"
C:\Users\Darlequinn\Downloads\samp03z_svr_R1_win32\gamemodes\HSRP.pwn(3531) : error 035: argument type mismatch (argument 1)
C:\Users\Darlequinn\Downloads\samp03z_svr_R1_win32\gamemodes\HSRP.pwn(3510) : warning 203: symbol is never used: "seek"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
Line 3469
pawn Код:
Audio_OnSetPack(playerid, localhandle, seek);
Line 3501
pawn Код:
Audio_OnSetPack(i, localhandle, seek);
Line 3531
pawn Код:
Audio_OnSetPack(i, localhandle, seek);
Reply
#2

I don't know what is the meaning of Audio_OnSetPack but what I know about this error is that You made extra thing example:
pawn Код:
SendClientMessage(playerid,-1,"Hi",hi);//the hi will cause that error.
So I think you can try something like:
pawn Код:
Audio_OnSetPack(i, localhandle);
Reply
#3

remove the public or @ on Audio_OnSetPack(playerid, localhandle, seek) if its a function

show more lines ranging 10 or simply the whole block that uses that function
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)