Help with warning
#1

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]);
Reply
#2

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)