Command (Dialog won't show) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Command (Dialog won't show) (
/showthread.php?tid=343271)
Command (Dialog won't show) -
iGetty - 16.05.2012
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.
Re: Command (Dialog won't show) -
Jonny5 - 16.05.2012
max dialog id is 32767
your way over!
try to lower you dialog id
Re: Command (Dialog won't show) -
iGetty - 16.05.2012
Oops! My bad.
Thanks!