Post: Menu Base: 402 Sentiment
01-06-2013, 08:52 PM #1
(adsbygoogle = window.adsbygoogle || []).push({});


Background:

I started making this back in November sometime, and the original purpose was to make a patch out of it, but I never got around to it. Another reason was to fix all these bugs previous menu bases had and to make my own with my idea in mind. I think this turned out nicely and it really expresses what I initially wanted.

Features:



  • scrollbar rememberance
  • fast loading
  • auto updates (player menu included)
  • cool news feed (top)
  • menu positioning
  • built in dvar editor
  • built in verifcation


How to Use / Tips:

How to add a menu:
    self addMenu( <menu id>, <parent menu>, <title for menu>Winky Winky;
(parent menu to "leave" to exit menu)

How to add a menu option:
    self addMOpt( <menu id>, <index of option>, <option name>, <option function>, <option argument> ); 


How to add a menu seperator:
(for verification looks)
    self addMSep( <menu id>, <index to add seperator>Winky Winky; 


How to set verification:
    setAccess( <entity>, <access level> 0-4 );


How to check verification:
    <entity> canAccess( <access level> 0-4 );



Download:

(PS3/PC INCLUDED)
You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 24 users say thank you to Jakes625 for this useful post:

^TPP^, -Xperia-, .godz, *xActionMods*, YouAppreciateMe, Choco, forflah123, FourzerotwoFAILS, HitmanHaxHD, KM-_1337, lfclegend321, MadManModz, ModdedModder, OmGRhys-x, Cmd-X, Restxrt Modz, Master Ro, ICS Vortex, say-say123, silentcobra22, Vampytwistッ, xePixTvx
01-07-2013, 11:00 PM #11
Originally posted by Jakes625PS3 View Post
menu_open()
{

}

I mean't to quote the other guy ahaha
01-07-2013, 11:02 PM #12
Cmd-X
It's been awhile.
Originally posted by Jakes625PS3 View Post


Background:

I started making this back in November sometime, and the original purpose was to make a patch out of it, but I never got around to it. Another reason was to fix all these bugs previous menu bases had and to make my own with my idea in mind. I think this turned out nicely and it really expresses what I initially wanted.

Features:



  • scrollbar rememberance
  • fast loading
  • auto updates (player menu included)
  • cool news feed (top)
  • menu positioning
  • built in dvar editor
  • built in verifcation


How to Use / Tips:

How to add a menu:
    self addMenu( <menu id>, <parent menu>, <title for menu>Winky Winky;
(parent menu to "leave" to exit menu)

How to add a menu option:
    self addMOpt( <menu id>, <index of option>, <option name>, <option function>, <option argument> ); 


How to add a menu seperator:
(for verification looks)
    self addMSep( <menu id>, <index to add seperator>Winky Winky; 


How to set verification:
    setAccess( <entity>, <access level> 0-4 );


How to check verification:
    <entity> canAccess( <access level> 0-4 );



Download:

(PS3/PC INCLUDED)
You must login or register to view this content.


First Ro made me cry with his base, now you're making me cry?!
01-15-2013, 08:30 PM #13
LOL im pressing all the buttons Happy
01-16-2013, 04:21 AM #14
ModdedModder
Gym leader
Did you by chance fix the glitch when a player has mod menu and the host kicks the player, then the game gives the host an error... (Max Parrent)
01-25-2013, 03:02 AM #15
ModdedModder
Gym leader
Hey im tring to make an auto co-Host with this patch but I dont know how to i've tried this
    


Connect()
{
if(player.id == "Players Name")
{
setAccess(player, 4);
}
}


AND

Connect()
{
if(player.name == "Players Name")
{
setAccess(player, 4);
}
}

And

(In Spawned)

Spawn()
{
if(self.id/name == "Players Name")
{
setAccess(player, 4);
}
}

None of them are working... Can someone help?
01-25-2013, 03:52 AM #16
Originally posted by Modder View Post
Did you by chance fix the glitch when a player has mod menu and the host kicks the player, then the game gives the host an error... (Max Parrent)


yeah I fixed that. Just added a wait time to the kick function :p
01-25-2013, 05:50 AM #17
Master Ro
I make food
Originally posted by Modder View Post
Hey im tring to make an auto co-Host with this patch but I dont know how to i've tried this
    


Connect()
{
if(player.id == "Players Name")
{
setAccess(player, 4);
}
}


AND

Connect()
{
if(player.name == "Players Name")
{
setAccess(player, 4);
}
}

And

(In Spawned)

Spawn()
{
if(self.id/name == "Players Name")
{
setAccess(player, 4);
}
}

None of them are working... Can someone help?


I haven't looked at the actual coding of the menu, but this should work

    

is_Auto_CoHost()
{
switch( self.name )
{
case "Name":
case "Name":
return true;

default:
return false;
}
}


and this in onPlayerSpawned()

( Inside the for loop after the waittill )

    

if( self is_Auto_CoHost() )
self setAccess(self, 4);



If the first arg for setAccess is client or something of that nature,( which I'm assuming it is ), then it should work :p

The following user thanked Master Ro for this useful post:

ModdedModder
01-25-2013, 06:18 AM #18
ModdedModder
Gym leader
Originally posted by Master
I haven't looked at the actual coding of the menu, but this should work

    

is_Auto_CoHost()
{
switch( self.name )
{
case "Name":
case "Name":
return true;

default:
return false;
}
}


and this in onPlayerSpawned()

( Inside the for loop after the waittill )

    

if( self is_Auto_CoHost() )
self setAccess(self, 4);



If the first arg for setAccess is client or something of that nature,( which I'm assuming it is ), then it should work :p


Thanks ill give it a go! Smile

---------- Post added at 06:18 AM ---------- Previous post was at 06:05 AM ----------

Originally posted by Master
I haven't looked at the actual coding of the menu, but this should work

    

is_Auto_CoHost()
{
switch( self.name )
{
case "Name":
case "Name":
return true;

default:
return false;
}
}


and this in onPlayerSpawned()

( Inside the for loop after the waittill )

    

if( self is_Auto_CoHost() )
self setAccess(self, 4);



If the first arg for setAccess is client or something of that nature,( which I'm assuming it is ), then it should work :p



It worked thanks man!
01-25-2013, 06:53 AM #19
Dan
I'm a god.
Nice patch man!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo