Tutorial: How to disable right clicking!

Tutorial: How to disable right clicking!

par BHBProd
Signaler un bug
Signaler le jeu
Loading ad...

Tutorial: How to disable right clicking!

Note:
2.4
Sortie : October 28, 2010
Dernière mise à jour : October 28, 2010
Développeur: BHBProd

Tags pour Tutorial: How to disable right clicking!

Description

Ce code fera perdre automatiquement quelqu’un lors d’un clic droit : var myMenu:ContextMenu = new ContextMenu();//crée un nouveau menu contextuel appelé myMenu. function rightClick() {//crée une nouvelle fonction appelée clic droit. gotoAndStop('cheatFrame');//quand le bouton droit est pressé, va à cheatFrame. }//. myMenu.onSelect = rightClick;//quand le menu contextuel est ouvert, exécute la fonction rightClick. this.menu = myMenu;//apporte les modifications nécessaires pour aller à la frame de triche

Comment jouer

Suis le tutoriel !

Commentaires

0/1000
chaos548 avatar

chaos548

Apr. 20, 2011

1
0

Stage.showMenu=false <-- DONE!

hamvvar avatar

hamvvar

Oct. 28, 2010

1
2

Alright, but if you do implement this code you should also make sure that your game has built in toggles for "Show All" and Hi/Lo Quality.
A lot of games leave out the option to toggle quality and this can be a real shitty decision.

ita133 avatar

ita133

Oct. 29, 2010

1
3

lame

BLUEALEX7 avatar

BLUEALEX7

Oct. 28, 2010

1
3

You know people can hold the left click and do it.