- Code: Select all
UserCheck = 0;
PassCheck = 0;
ok,mousebutton down,
- Code: Select all
if(UserCheck == 0, PassCheck == 0)
{
PlaySound2("data/Denied.wav", 1.000000, 1, 1.000000);
}
and
- Code: Select all
if(UserCheck == 1, PassCheck == 1)
{
PlaySound2("data/Approved.wav", 1.000000, 1, 0.000000);
MoveTo("view", 320.000000, -239.000000, 1000.000000, "Game Center", "");
}
And on the user name type in, draw actor,
- Code: Select all
if(UserName.text == CurrentUser.text)
{
UserCheck = 1;
}
Pass type in, draw actor
- Code: Select all
if(Password.text == CurrentPassword.text)
{
PassCheck = 1;
}
After all this it still doesn't work, what am I doing wrong?
P.S, is there anyway to prevent taskpanel, meta, alt+tab, and menu,I'm trying to make a secerity program.