23.03.2010, 10:47
Hey, i've got a little problem.
I had made a function to change name with Imput Dialog..
And it works.
But when i wants to Set Time with Dialog i've got errors.
[pawn]
if(listitem == 1)
{
ShowPlayerDialog(playerid, Time, DIALOG_STYLE_INPUT, "Set Time", "Choose your Time", "Ok", "Close");
}
[/pawn
My error:
Error 035: argument type mismatch (argument 2)
1 Error.
I had made a function to change name with Imput Dialog..
And it works.
But when i wants to Set Time with Dialog i've got errors.
[pawn]
if(listitem == 1)
{
ShowPlayerDialog(playerid, Time, DIALOG_STYLE_INPUT, "Set Time", "Choose your Time", "Ok", "Close");
}
[/pawn
pawn Код:
if(dialogid == Time)
{
if(response == 0)
{
SetPlayerTime(playerid,inputtext);
}
}
Error 035: argument type mismatch (argument 2)
1 Error.