ShowPlayDialog , DIALOG_STYLE_MSGBOX
#4

Quote:
Originally Posted by Aveger
Посмотреть сообщение
Код:
ShowPlayerDialog(playerid,2000,DIALOG_STYLE_MSGBOX,"Mobile Data Control", "Convicts:\n %s", "Accept", "Cancel", PlayerInfo[x][crimereason]);
No, that's wrong.

JustBored has the right idea! %s, %d, %i, %f are all "placeholders" as I like to call them. You need to use format in order to actually sort out what should be substituted in for each of them.
Reply


Messages In This Thread
ShowPlayDialog , DIALOG_STYLE_MSGBOX - by AdamCooper - 20.06.2013, 22:32
Respuesta: ShowPlayDialog , DIALOG_STYLE_MSGBOX - by JustBored - 20.06.2013, 22:36
Re: ShowPlayDialog , DIALOG_STYLE_MSGBOX - by SwisherSweet - 20.06.2013, 22:36
Re: ShowPlayDialog , DIALOG_STYLE_MSGBOX - by Scenario - 20.06.2013, 22:42
Re: ShowPlayDialog , DIALOG_STYLE_MSGBOX - by AdamCooper - 20.06.2013, 22:43
Re: ShowPlayDialog , DIALOG_STYLE_MSGBOX - by SwisherSweet - 20.06.2013, 22:50
Re: ShowPlayDialog , DIALOG_STYLE_MSGBOX - by AdamCooper - 20.06.2013, 23:09
Re: ShowPlayDialog , DIALOG_STYLE_MSGBOX - by Scenario - 20.06.2013, 23:27
Re: ShowPlayDialog , DIALOG_STYLE_MSGBOX - by AdamCooper - 20.06.2013, 23:55

Forum Jump:


Users browsing this thread: 1 Guest(s)