One Button?
#1

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

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.
Reply
#3

Leave it blank as in, ShowPlayerDialog ( playerid, dialogid, dialogstyle, caption [ ], info [ ], button1, "" );
Reply
#4

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

hmmmm why only till 60? FACEPALM
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)