One Button? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: One Button? (
/showthread.php?tid=205027)
One Button? -
Sledge - 31.12.2010
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Registration Step 2 - Age", "INVALID AGE. 16-60 ONLY\n\nHow old are you (enter your age)?", "Set Age", "")
I want my dialog to only show one button. This doesn't work. The colors all work though (like {30303})
Re: One Button? -
Souvlaki - 31.12.2010
It don't think it's possible but if it was i guess it would be like this:
pawn Код:
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Registration Step 2 - Age", "INVALID AGE. 16-60 ONLY\n\nHow old are you (enter your age)?", "Set Age")
Edit:
Wiki:
The text on the right button. Leave it blank to hide it.
pawn Код:
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Registration Step 2 - Age", "INVALID AGE. 16-60 ONLY\n\nHow old are you (enter your age)?","Set Age",)
Maybe?
I hope it works.
Re: One Button? -
Retardedwolf - 31.12.2010
Leave it blank as in, ShowPlayerDialog ( playerid, dialogid, dialogstyle, caption [ ], info [ ], button1, "" );
Re: One Button? -
ғαιιοцт - 31.12.2010
are you sure you have correctly updated to 0.3c?
also replaced the samp_server.exe ?
it should work like you did it in the first post :O
Re: One Button? -
justsomeguy - 31.12.2010
hmmmm why only till 60? FACEPALM