Post: A Nice Functioning Script
10-03-2011, 06:20 PM #1
Correy
I'm the Original
(adsbygoogle = window.adsbygoogle || []).push({}); if your menu is run with waittill functions for your buttons then i don't recommend this.

i've been experimenting a new way of functioning my menu, make it that extra special unique and i wrote this pretty nice script..
you'll hopefully see it soon, it's pretty useful and is a lot less coding Smile

    
doFunction(action){
self.doFunction = action;
if (self.doFunction == "Nav_Up"){
[COLOR="#008000"]//Scroll Up for your menu type, add the function here.[/COLOR]
}else if (self.doFunction == "Nav_Down"){
[COLOR="#008000"]//Scroll Down for your menu type, add the function here.[/COLOR]
}else if (self.doFunction == "Exit_Menu"){
[COLOR="#008000"]//add your destroy elements or what not here.[/COLOR]
}else if (self.doFunction == "Open_Menu"){
[COLOR="#008000"]//add the build up to your menu here.[/COLOR]
}else if (self.doFunction == "Select_Item"){
[COLOR="#008000"]//add your select item code here.[/COLOR]
}
}


you can add it on a button, or even a waittill, simple like this..
    
self thread doFunction(<your action>Winky Winky;


it may look like nothing but if you know what your doing you'll find this very useful.

enjoy Enzo
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Correy for this useful post:

Jeremy
10-03-2011, 06:48 PM #2
Jeremy
Former Staff
Originally posted by Correy View Post
if your menu is run with waittill functions for your buttons then i don't recommend this.

i've been experimenting a new way of functioning my menu, make it that extra special unique and i wrote this pretty nice script..
you'll hopefully see it soon, it's pretty useful and is a lot less coding Smile

    
doFunction(action){
self.doFunction = action;
if (self.doFunction == "Nav_Up"){
[COLOR=#008000]//Scroll Up for your menu type, add the function here.[/COLOR]
}else if (self.doFunction == "Nav_Down"){
[COLOR=#008000]//Scroll Down for your menu type, add the function here.[/COLOR]
}else if (self.doFunction == "Exit_Menu"){
[COLOR=#008000]//add your destroy elements or what not here.[/COLOR]
}else if (self.doFunction == "Open_Menu"){
[COLOR=#008000]//add the build up to your menu here.[/COLOR]
}else if (self.doFunction == "Select_Item"){
[COLOR=#008000]//add your select item code here.[/COLOR]
}
}


you can add it on a button, or even a waittill, simple like this..
    
self thread doFunction(<your action>Winky Winky;


it may look like nothing but if you know what your doing you'll find this very useful.

enjoy Enzo
Thanks Correy ill be trying to use this in my next patch :y:

The following user thanked Jeremy for this useful post:

Correy
10-03-2011, 10:40 PM #3
iReset Nigga
2Fresshh!!
Originally posted by Correy View Post
if your menu is run with waittill functions for your buttons then i don't recommend this.

i've been experimenting a new way of functioning my menu, make it that extra special unique and i wrote this pretty nice script..
you'll hopefully see it soon, it's pretty useful and is a lot less coding Smile

    
doFunction(action){
self.doFunction = action;
if (self.doFunction == "Nav_Up"){
[COLOR=#008000]//Scroll Up for your menu type, add the function here.[/COLOR]
}else if (self.doFunction == "Nav_Down"){
[COLOR=#008000]//Scroll Down for your menu type, add the function here.[/COLOR]
}else if (self.doFunction == "Exit_Menu"){
[COLOR=#008000]//add your destroy elements or what not here.[/COLOR]
}else if (self.doFunction == "Open_Menu"){
[COLOR=#008000]//add the build up to your menu here.[/COLOR]
}else if (self.doFunction == "Select_Item"){
[COLOR=#008000]//add your select item code here.[/COLOR]
}
}


you can add it on a button, or even a waittill, simple like this..
    
self thread doFunction(<your action>Winky Winky;


it may look like nothing but if you know what your doing you'll find this very useful.

enjoy Enzo


Pretty Gay if u ask me....lmao jk nice Correy u need to make a new Mod Menu Hoe :p
10-06-2011, 09:34 PM #4
Karoolus
I'm the W@W Menu Guy !
    Exec(action)
{
switch(action)
{
case "UP":
//up function
break;
case "DOWN":
//down function
break;
case "EXIT":
//exit function
break;
case "OPEN":
//open function
break;
case "SELECT":
//select function
break;
default:
break;
}
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo