Home > Tutorials > Game Maker > Password script for gml
Password script for gml
global.pass=123456
var pass;
pass=get_integer('Put your password here.','')
if pass=global.pass{show_message('This password is correct.') room_goto(room_first)}
if pass!=global.pass{show_message('Invalid password.') return true;}
|
|
Details
|
|
Tutorial:
|
Password script for gml |
|
Date Listed:
|
Sun, 14 Sep 2008 07:46:18 -0700 |
|
Author:
|
iMperfect
|
|
Total Hits:
|
2827 |
|
|