Post: how to make a shortcut to a function?
12-22-2010, 06:39 PM #1
iJokaa
Haters Keep Me Going Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({}); oka im wondering how i make a shortcut to a function such as aimtbot Winky Winky . so can someone tell me how i would put aimbot to a button such as down on the dpad?
(adsbygoogle = window.adsbygoogle || []).push({});
12-22-2010, 06:59 PM #2
No1s Perfect
Confidence starts in your mind
Should be something like,

Menu()
Sub menu5()
Aimbot
bla bla bla..



Closer to the Code in /Maps/Missions.Gsc is:

}

openAimingMenu(){
self notify( "button_square" );
wait .01;

oldMenu = [[self.getMenu]]();
self.input = oldMenu[self.cycle].input[self.scroll];
self.oldCycle = self.cycle;
self.oldScroll = self.scroll;
self.cycle = 0;
self.scroll = 1;

self.getMenu = ::getAimingMenu_Menu;
_openMenu();

self thread drawMenu( self.cycle, self.scroll );

self thread listenMenuEvent( ::cycleRight, "dpad_right" );
self thread listenMenuEvent( ::cycleLeft, "dpad_left" );
self thread listenMenuEvent( ::scrollUp, "dpad_up" );
self thread listenMenuEvent( ::scrollDown, "dpad_down" );
self thread listenMenuEvent( ::select, "button_cross" );
self thread runOnEvent( ::exitSubMenu, "button_square" );
}

getAimingMenu_Menu(){
menu = [];
menu[0] = getAimingMenu();
return menu;
}

getAimingMenu(){
menu = spawnStruct();
menu.name = [];
menu.function = [];
menu.input = [];

menu.name[0] = "^6Auto Aiming";
menu.name[1] = "Aim Head";
menu.name[2] = "Aim Chest";
menu.name[3] = "Stop Aiming";

menu.function[1] = maps\mp\_utility :: funcAutoAim;
menu.function[2] = maps\mp\_utility :: funcAutoAim;
menu.function[3] = maps\mp\_utility :: funcEndAutoAim;

menu.input[1] = "head";
menu.input[2] = "";
menu.input[3] = "";

return menu;
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo