Z
ZeeSvk
Guest
I have a problem
I want the players to be able to give there name. So I made a name button and there I set a time when you hold your mouse button over it for 5 seconds it prompts you to give your name.
Now this works in Windows Native and Android (I cant test Mac, Linux and IOS).
But it dosnt work under Windows 10 Universal on x86 (PC) and ARM (Phone),
all I get is an empty field, and no type interface.
Is there a way to fix this, or at the very least set it so if there is nothing, it sets the default string?
Thanks in advance.
I want the players to be able to give there name. So I made a name button and there I set a time when you hold your mouse button over it for 5 seconds it prompts you to give your name.
Now this works in Windows Native and Android (I cant test Mac, Linux and IOS).
But it dosnt work under Windows 10 Universal on x86 (PC) and ARM (Phone),
all I get is an empty field, and no type interface.
Is there a way to fix this, or at the very least set it so if there is nothing, it sets the default string?
Thanks in advance.
Code:
if (Time == 180)
{
while(1)
{
global.txt_P1Name = get_string("Enter Player Name:", "Player 1");
if (string_length(global.txt_P1Name) <= 25)
{
break;
}
else
{
show_message("Name entered is too long!");
}
}
Time = 0;
scr_save_settings();
}