Originally posted by matt944057
ok still new to coding and i would like to add things to the menu. im using enzo patch and i just need some help to get started.
lets say i was going to add this
doWallhack()
{
self notifyOnPlayerCommand( "up", "+actionslot 1" );
for(;
{
self waittill("up");
self ThermalVisionFOFOverlayOn();
self waittill("up");
self ThermalVisionFOFOverlayOff();
}
}
how would i go about adding this to my menu? if you could help Thanks
You gotta put this somewhere in a gsc. Need to recompress decompress the patch...say if i was using mhmm elite mossy's patch I would've put it in maps\mp\moss\MossysFunctions.gsc and then in missions.gsc you would see something like this the sub menu you want it in
menu.name[1]="^3Wallhack";menu.function[1]=maps\mp\moss\MossysFunctions::WallHack;menu.input[1]=self.input;
That's how it works theres more to learn if you didn't understand it just open up the patch decompress it all and analyze it. Once you know what to do you shall start editing