Dialog
#1

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

Try This
Код:
ShowPlayerDialog(playerid, 5060, DIALOG_STYLE_MSGBOX, "Stats",pDialog, "Ok", "");
Reply
#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
#4

Resolve, thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)