Problem
#1

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
Reply
#2

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");
Reply
#3

That worked! Thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)