Dialog
#3

Quote:
Originally Posted by Whatwasit
Посмотреть сообщение
Hello,

I don't really, when I post that it the game mode. ( without any error)
When I test the command, no dialog appears, as the command don't exist.
Код:
CMD:info(playerid,params[])
{
new pDialog[3000];
format(pDialog, sizeof pDialog, "%s Score: %d", pDialog, GetPlayerScore(playerid));
ShowPlayerDialog(playerid, 125, DIALOG_STYLE_MSGBOX, "Stats",pDialog, "Ok", "");
return 1;
}
Another question :

What is the %s in the forth line ?

Thanks for your help
%s => Here
Dialog => Here

About your command i think just try to show a dialog without formats,etc
Try
Код:
ShowPlayerDialog(playerid, 5555, DIALOG_STYLE_MSGBOX, "Stats","TEST", "Ok", "");
Reply


Messages In This Thread
Dialog - by Whatwasit - 21.08.2015, 09:13
Re: Dialog - by anassmaroc - 21.08.2015, 09:31
Re: Dialog - by karemmahmed22 - 21.08.2015, 09:39
Re: Dialog - by Whatwasit - 21.08.2015, 10:14

Forum Jump:


Users browsing this thread: 1 Guest(s)