SA-MP Forums Archive
Help with warning - 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: Help with warning (/showthread.php?tid=423534)



Help with warning - virusa1 - 18.03.2013

Hello i got this warning. And i don't know how to fix it -.-

The warning is :
pawn Код:
number of arguments does not match definition
And the line is :
pawn Код:
format(reportdialog, sizeof(reportdialog), "%s%s(ID:%i) | RID:%i | Report: %s", reportdialog, GetPlayerName(Reports[i][ReportFrom]), Reports[i][ReportFrom], i, (Reports[i][Report]), Reports[i][TimeToExpire]);



Re: Help with warning - Konstantinos - 18.03.2013

There are 5 placeholders in the reportdialog, but you're trying to pass 6 data.


Re: Help with warning - Vince - 18.03.2013

https://sampwiki.blast.hk/wiki/GetPlayerName