Post: How to add a "How to use" box
08-18-2015, 05:42 PM #1
Tristan
< ^ > < ^ >
(adsbygoogle = window.adsbygoogle || []).push({}); Im wondering how i can add a how to use box to the left or right of the screen
(adsbygoogle = window.adsbygoogle || []).push({});

The following user groaned Tristan for this awful post:

itsSorrow
08-18-2015, 10:47 PM #2
-Numb
You talkin to me?
Just create a font string and a background.. Do it the same way as your menu draws the text and the backgrounds
08-19-2015, 12:37 PM #3
Tristan
< ^ > < ^ >
Originally posted by Numb View Post
Just create a font string and a background.. Do it the same way as your menu draws the text and the backgrounds


Im using a menu base can you show me how where to put it in code?
08-19-2015, 12:44 PM #4
-Numb
You talkin to me?
Originally posted by iPhantoms View Post
Im using a menu base can you show me how where to put it in code?


You could just make it on the open menu function, and destroy it on the close menu function
08-19-2015, 01:03 PM #5
Tristan
< ^ > < ^ >
Originally posted by Numb View Post
You could just make it on the open menu function, and destroy it on the close menu function


As im not good at coding can you tell me what to wright

You must login or register to view this content.

And i also tried to add a submenu in a submenu

is this correct?

You must login or register to view this content.
08-19-2015, 01:06 PM #6
Originally posted by iPhantoms View Post
As im not good at coding can you tell me what to wright

You must login or register to view this content.

And i also tried to add a submenu in a submenu

is this correct?

You must login or register to view this content.


if you have skype i can help you with a sub in a sub , ive done it countless times
08-19-2015, 01:08 PM #7
Tristan
< ^ > < ^ >
Originally posted by DaffyDucks View Post
if you have skype i can help you with a sub in a sub , ive done it countless times


Add my skype

iamspex-ngu
08-19-2015, 01:15 PM #8
-Numb
You talkin to me?
Originally posted by iPhantoms View Post
As im not good at coding can you tell me what to wright

You must login or register to view this content.

And i also tried to add a submenu in a submenu

is this correct?

You must login or register to view this content.


Yes that submenu thing should be right.. why not just test it?

And to make a text string you just need to find the create text function in your menu..
In my menu its called createText(font, fontscale, allign, relative, x, y, sort, text)

so then you just do this on the open menu
self.InfoText = createText("default", 1.2, "CENTER", "TOP", x value here, y value here, 3, "Your info text here");

and put self.InfoText destroy(); on the close menu..

If you want a shader around the text you do the same thing with that, find the createRectangle or DrawShader or whatever it is called in your menu..

The following user thanked -Numb for this useful post:

Tristan
08-19-2015, 01:21 PM #9
Tristan
< ^ > < ^ >
Originally posted by Numb View Post
Yes that submenu thing should be right.. why not just test it?

And to make a text string you just need to find the create text function in your menu..
In my menu its called createText(font, fontscale, allign, relative, x, y, sort, text)

so then you just do this on the open menu
self.InfoText = createText("default", 1.2, "CENTER", "TOP", x value here, y value here, 3, "Your info text here");

and put self.InfoText destroy(); on the close menu..

If you want a shader around the text you do the same thing with that, find the createRectangle or DrawShader or whatever it is called in your menu..


Whats the problem here?
You must login or register to view this content.

also do you have a skype i can add
08-19-2015, 01:27 PM #10
-Numb
You talkin to me?
Originally posted by iPhantoms View Post
Whats the problem here?
You must login or register to view this content.

also do you have a skype i can add


Seriosly? You just copy paste what i wrote.. You have to add x and y values to it ofc..I don't know where on your screen you want to have it, so change what I made red to that.

self.InfoText = createText("default", 1.2, "CENTER", "TOP", x value here, y value here, 3, "Your info text here");

Also be sure that your text code is named "createText" in order to get the function i posted to work..

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo