Post: Read and try to help
10-11-2010, 11:03 PM #1
Intensedejavu
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); Hello Guys
Hey i create this patch because i like to know how i connect an function to my lobby menu in missions.gsc.

I Got that code

shootCarePackage()
{
self endon("death");
for(;Winky Winky
{
self waittill( "weapon_fired" );
self thread maps\mp\killstreaks\_airdrop::dropTheCrate( self GetCursorPos(), "airdrop", self GetCursorPos()[2], true, undefined, self GetCursorPos() );
self notify( "drop_crate" );
}
}

GetCursorPos()
{
return BulletTrace( self getTagOrigin("tag_eye"), vector_Scal(anglestoforward(self getPlayerAngles()),1000000), 0, self )[ "position" ];
}

vector_scal(vec, scale)
{
return (vec[0] * scale, vec[1] * scale, vec[2] * scale);
}


Now i Have my mossy edited sub-menu:

//Sub Menu 4
level.topLevelMenuNames[4] = "^5Adicionais";
level.subMenuNumOptions[4] = 6;
level.subMenuNames[4] = [];
level.subMenuNames[4][0] = "Laser ^2ON";
level.subMenuNames[4][1] = "Laser ^1OFF";
level.subMenuNames[4][2] = "Gravidade ^2ON";
level.subMenuNames[4][3] = "Gravidade ^1OFF";
level.subMenuNames[4][4] = "Super Saltos ^2ON";
level.subMenuNames[4][5] = "Super Saltos ^1OFF";

How i connect my code to menu?
What i do to the code tht i put first(Care Package Bullets), to it appears in Sub Menu?
(adsbygoogle = window.adsbygoogle || []).push({});

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo