PDA

View Full Version : Command (Dialog won't show)


iGetty
16/05/2012, 11:11 PM
How come this command won't work in game?


I do the command and nothing happens.

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.

Jonny5
16/05/2012, 11:13 PM
max dialog id is 32767
your way over!
try to lower you dialog id

iGetty
16/05/2012, 11:15 PM
Oops! My bad.

Thanks!