Dialog + Format Help
#1

Hi I want to do DIALOG_MSGBOX points called to do that when the mission gets + 1 point, however, I have but the problem is that I do not know how to put something into the dialogue here but I do not know if it is as good if not how do I do that? :





Код:
public OnPlayerConnect(playerid)
{   new string[128],body[128];
	format(string,sizeof(string),"%s",("body",playerid));
	ShowPlayerDialog(playerid, body, DIALOG_STYLE_MSGBOX,"body",playerid, string, "Ok", "Esc");
    return 1;
}
Errors :


Код:
C:\Documents and Settings\Ronny\Plocha\zk.pwn(214) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
1 Error.
line
Код:
format(string,sizeof(string),"%s",("body",playerid));
Reply


Messages In This Thread
Dialog + Format Help - by RonnyCZ - 02.08.2013, 06:56
Re: Dialog + Format Help - by appleomax - 02.08.2013, 07:07
Re: Dialog + Format Help - by RonnyCZ - 02.08.2013, 07:19

Forum Jump:


Users browsing this thread: 1 Guest(s)