Command (Dialog won't show)
#1

How come this command won't work in game?


I do the command and nothing happens.

pawn Код:
command(stats, playerid, params[])
{
    new string[256];
    format(string, sizeof(string), "--- %s ---\n\nMoney: {33FF33}$%d\nScore: {33FF33}%d", pName(playerid), Player[playerid][Money], Player[playerid][Score]);
    ShowPlayerDialog(playerid, 99999, DIALOG_STYLE_MSGBOX, "Statistical Information", string, "Close", "");
    return 1;
}
I get no errors in Pawno.

Thanks.
Reply
#2

max dialog id is 32767
your way over!
try to lower you dialog id
Reply
#3

Oops! My bad.

Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)