14.01.2011, 21:35
Yo guys I got this:
When submitted it does this:
PlayerInfo[playerid][mname] = strlen(inputtext);
This however does not work. Instead of a proper middle name it comes up with a weird symbol.
I've tried it with strval aswell (just to make sure the inputtext isn't an integer) but that didn't work either.
Код:
format(regstring, sizeof(regstring), "You've accepted the rules, thanks!.\n Now please fill in a middle name for your character.\n If you don't got one, leave it empty."); ShowPlayerDialog(playerid, REGISTER_DIALOG+7,DIALOG_STYLE_INPUT,"Choose a middlename", regstring, "Submit", "Cancel (kick)");
PlayerInfo[playerid][mname] = strlen(inputtext);
This however does not work. Instead of a proper middle name it comes up with a weird symbol.
I've tried it with strval aswell (just to make sure the inputtext isn't an integer) but that didn't work either.