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: number of arguments does not match definition (
/showthread.php?tid=614222)
number of arguments does not match definition -
Skinnz - 05.08.2016
hello, i have a problem
(41982 -- 41983) : warning 202: number of arguments does not match definition
PHP код:
ShowPlayerDialog(playerid, Dialog_Acheter, DIALOG_STYLE_LIST, "Acheter", "Telephone (%d$)", "Acheter", "Annuler",binfo[IdBiz[playerid]][PrixAch]+200);
Can you help me ?
Re: number of arguments does not match definition -
Shinja - 05.08.2016
PHP код:
new string[50];
format(string, 50, "Telephone (%d$)", binfo[IdBiz[playerid]][PrixAch]+200);
ShowPlayerDialog(playerid, Dialog_Acheter, DIALOG_STYLE_LIST, "Acheter", string, "Acheter", "Annuler");
Respuesta: number of arguments does not match definition -
Skinnz - 06.08.2016
thank you