Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- object_event_add(InGameMenuController, ev_create, 0, '
- a = global.spyhack;
- b = "Spy hack";
- if a == 1 { b = "Spy hack ON"; }
- if a == 0 { b = "Spy hack OFF"; }
- menu_addlink(b, "
- if a == 0 { global.spyhack = 1; }
- if a == 1 { global.spyhack = 0; }
- ");
- ');
- object_event_add(InGameMenuController, ev_create, 0, '
- a = global.healthhack;
- b = "Health hack";
- if a == 1 { b = "Health hack ON"; }
- if a == 0 { b = "Health hack OFF"; }
- menu_addlink(b, "
- if a == 0 { global.healthhack = 1; }
- if a == 1 { global.healthhack = 0; }
- ");
- ');
- object_event_add(PlayerControl,ev_create,0,'
- global.spyhack = 0;
- global.healthhack = 0;
- ');
- object_event_add(Character,ev_draw,0,'
- if global.spyhack == 1 {
- image_alpha = 1;
- invisible = 0;
- stabbing = 0;
- cloakAlpha = 1;
- cloak = 0;
- }
- if global.healthhack == 1 {
- draw_set_alpha(1);
- draw_healthbar(round(x)-10, round(y)-30, round(x)+10, round(y)-25,hp*100/maxHp,c_black,c_red,c_green,0,true,true);
- }
- ');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement