Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var guardN = false;
- switch(i)
- {
- case 1:
- if(gui_controls.nome0 != '')
- guardN = true;
- break;
- case 2:
- if(gui_controls.nome0 != '' && gui_controls.nome1 != '')
- guardN = true;
- break;
- case 3:
- if(gui_controls.nome0 != '' && gui_controls.nome1 != '' && gui_controls.nome2 != '')
- guardN = true;
- break;
- case 4:
- if(gui_controls.nome0 != '' && gui_controls.nome1 != '' && gui_controls.nome2 != '' && gui_controls.nome3 != '')
- guardN = true;
- break;
- case 5:
- if(gui_controls.nome0 != '' && gui_controls.nome1 != '' && gui_controls.nome2 != '' && gui_controls.nome3 != '' && gui_controls.nome4 != '')
- guardN = true;
- break;
- case 6:
- if(gui_controls.nome0 != '' && gui_controls.nome1 != '' && gui_controls.nome2 != '' && gui_controls.nome3 != '' && gui_controls.nome4 != '' && gui_controls.nome5 != '')
- guardN = true;
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement