SA-MP Forums Archive
Warning 202: number of arguments does not match definition - 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: Warning 202: number of arguments does not match definition (/showthread.php?tid=515530)



Warning 202: number of arguments does not match definition - VladimirMark - 26.05.2014

Error after compiling a filterscript:
pawn Код:
.......filterscripts\new.pwn(14) : warning 202: number of arguments does not match definition
Line 14
pawn Код:
new devin = GetDynamicObjectMaterialText(devin);



Re : Warning 202: number of arguments does not match definition - S4t3K - 26.05.2014

Enough explicit by itself I think.

Parameters are :


objectid, materialindex, text[], &materialsize, fontface[], &fontsize, &bold, &fontcolor, &backcolor, &textalignment

Moreover, I don't think you can get an object material text just by creating the var which isn't assigned to any object.