19.12.2012, 18:42
hey guys,
i was making this:
but now when i go to the elevator, select the right floor, it DOES gives me the dialog for the password, but i can enter ANYTHING, everything you enter works, like when i type asdasdwafasf, then it say accepted and it works, but it only should work for the password "chilltime" and nothing else...
anyone sees wut i do wrong here?
greets niels
i was making this:
pawn Код:
if(dialogid == DIALOG_NIELSPASSWORD)
{
if(response)
{
if(strcmp(inputtext, "chilltime"))
{
CallElevator(playerid, 19);
}
else return ShowPlayerDialog(playerid, DIALOG_NIELSPASSWORD, DIALOG_STYLE_PASSWORD, "Please enter the Password", "This Floor belongs to Niels and requires a password\nYou entered the wrong Password!\nPlease try again or press Cancel", "Enter", "Cancel");
}
else if(!response)
{
ShowElevatorDialog(playerid);
}
return 1;
}
anyone sees wut i do wrong here?
greets niels