Problem - 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: Problem (
/showthread.php?tid=616710)
Problem -
RuNBoY - 09.09.2016
Hello, whats wrong with this
Код:
ShowPlayerDialog(playerid,L_DIALOG,DIALOG_STYLE_INPUT,"{FFFF00}Login - %s",logstring,"Login","Quit",pName);
It shows :
Код:
warning 202: number of arguments does not match definition
Re: Problem -
Konstantinos - 09.09.2016
You cannot pass more arguments to format it directly.
pawn Код:
new l_info[42];
format(l_info, sizeof l_info, "{FFFF00}Login - %s", pName);
ShowPlayerDialog(playerid, L_DIALOG, DIALOG_STYLE_INPUT, l_info, logstring, "Login", "Quit");
Re: Problem -
RuNBoY - 09.09.2016
That worked! Thank you