inputtext error
#1

Hi all,
I'm new with the inputtext dialog,
I writed this:

The command:
Код:
ShowPlayerDialog(playerid, SERVER_TIME, DIALOG_STYLE_INPUT, "Tijd", "Voer een geldige tijd in (Bv. 07,12,18,21)", "Kies", "");
The result:
Код:
else if(dialogid==SERVER_TIME && response==1)
	{
		if(response)
		{
        	SetWorldTime(inputtext);
		    return 1;
		}
	}
The problem:
Код:
error 035: argument type mismatch (argument 1)
I've put the result onder 'OnDialogRespons'
Why is this error?

Thank you, MathijsS
Reply
#2

pawn Код:
SetWorldTime(strval(inputtext));
Reply
#3

Tnx man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)