Login | Register

Anti Screenshot

August 28, 2007, 11:55 by death-droid
[loading]
-->
I originally made this code to beat all the people who used the
if keyboard_pressed(vk_printscreen) way

This goes in the step event of a object


clipboard_get_text();
clipboard_set_text( " " );


What this does is get the text then sets the text to nothing making no lag happen.

Another reason why i did this is because with the if keyboard_pressed(vk_printscreen) you can just hold down shift and press it.

Comments

Loading comments... [loading]
.
Users logged in:

game maker articles, game maker examples, game maker tutorials, gmtutorials, game maker questions and answers, game maker crash course, how to create games