Post: [TUTORIAL] Menu Spaces
01-30-2012, 01:45 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Seeing as Fallen's thread got deleted for "advertising", I'll post on here how to use spaces in your menu (my way Winky Winky)

First, set a few variable strings for each option like so:

    set mpsb8A Maps [Afghan]
set mpsb8B Maps [Derail]
set mpsb8C Maps [Estate]
set mpsb8D Maps [Favela]
set mpsb8E Maps [Highrise]
set mpsb8F Maps [Invasion]


Note: there is no need for quotations yet, we'll get to that later, and spaces should be added instead of underscores

Secondly, you want to re-code your menu and call upon these vstrs seperately

    set mapsmenu "vstr mpsb8A;vstr mpsb8B;vstr mpsb8C;vstr mpsb8D;vstr mpsb8E;vstr mpsb8F;"


Once you've done that, add a "\""\" before the Maps [Afghan] or whatever option you had there

    set mpsb8A "\""\"Maps [Afghan]
set mpsb8B "\""\"Maps [Derail]
set mpsb8C "\""\"Maps [Estate]
set mpsb8D "\""\"Maps [Favela]
set mpsb8E "\""\"Maps [Highrise]
set mpsb8F "\""\"Maps [Invasion]


Also note that every option after the "\""\" becomes an unknown cmd, regardless of whether it's a code or not

Credits to aero and fallen for telling me that you could do this and me & obamasu for getting this particular method to work


Please post a comment if you decide to use this in your menu, no leeching :bat:

Noob tut: add "\""\" before your options

Also thanks to obamasu for working on this with me :p sorry, forgot him xD

Other sources: You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 6 users say thank you to Rainbow Gravity for this useful post:

JonoEfthy, KCxFTW, Savant, xMrSuperMoDzZ--, Xx--AIDAN--xX, User2340034u

The following user groaned Rainbow Gravity for this awful post:

T_m_b07
01-30-2012, 06:37 PM #11
BvB-09r-_-N!c0
♥{ NicoBvB90 }♥
Originally posted by b07 View Post
i predict the future of "v1.3.5.6.7.4.3.2 update with spaces" threads spamming this forum lmao.. i still dont understand your method as to how the game reads it and lets it work... :s lol oh well... n heres the original source as to where it was 1st discovered (walker neo) You must login or register to view this content. :y:



how it works for menus like this?

set example "set UP vstr 1;set Down vstr 2;^1Test_One;^1Test_One1;^1Test_One2"

?
01-30-2012, 06:42 PM #12
pcfreak30
>> PCFreak30.com Happy<<
I would think you could just use \n in CFG strings considering the GSC strings support it.
01-30-2012, 06:48 PM #13
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by xRazbaz View Post
Seeing as Fallen's thread got deleted for "advertising", I'll post on here how to use spaces in your menu (my way Winky Winky)


Sometimes i think NGU staff don't know what advertising actually means :/ just saying another websites name (not address) is not advertising unless you put other words behind and/or in-front of the website name to make it sound like your persuading people to visit the site.
01-30-2012, 08:03 PM #14
T_m_b07
I defeated!
Originally posted by NicoBVB90 View Post
how it works for menus like this?

set example "set UP vstr 1;set Down vstr 2;^1Test_One;^1Test_One1;^1Test_One2"

?


set example "set UP vstr 1;set Down vstr 2;^1Test_One;^1Test_One1;^1Test_One2"

would be :

set example "set UP vstr Test1;set Down vstr Test2;vstr 1;vstr 2;vstr 3"
set 1 "\""^1Test One"\""
set 2 "\""^1Test One1"\""
set 3 "\""^1Test One2"\""



Originally posted by pcfreak30 View Post
I would think you could just use \n in CFG strings considering the GSC strings support it.


tried that out... when writing the menu inside notepad ++ then copying into a patch.. i couldnt get it to work... (me persoanlly)

The following user thanked T_m_b07 for this useful post:

BvB-09r-_-N!c0
01-30-2012, 08:11 PM #15
BvB-09r-_-N!c0
♥{ NicoBvB90 }♥
Originally posted by b07 View Post
set example "set UP vstr 1;set Down vstr 2;^1Test_One;^1Test_One1;^1Test_One2"

would be :

set example "set UP vstr Test1;set Down vstr Test2;vstr 1;vstr 2;vstr 3"
set 1 "\""^1Test One"\""
set 2 "\""^1Test One1"\""
set 3 "\""^1Test One2"\""





tried that out... when writing the menu inside notepad ++ then copying into a patch.. i couldnt get it to work... (me persoanlly)


Thanks Bro!
01-30-2012, 08:15 PM #16
T_m_b07
I defeated!
Originally posted by NicoBVB90 View Post
Thanks Bro!


no problem... but so far... no1 has actually fully understood how this "escaping with a backslash" fully works... (not even walker neo) so it will be nice to actually see someone test the crap out of it and keep the forum updated to its possabilities... instead of people hiding it... actually work as a FORUM and finds its full potential! Happy

The following user thanked T_m_b07 for this useful post:

BvB-09r-_-N!c0
01-30-2012, 08:16 PM #17
Cody_h4x
Nobody is like me
Originally posted by xRazbaz View Post
Seeing as Fallen's thread got deleted for "advertising", I'll post on here how to use spaces in your menu (my way Winky Winky)

First, set a few variable strings for each option like so:

    set mpsb8A Maps [Afghan]
set mpsb8B Maps [Derail]
set mpsb8C Maps [Estate]
set mpsb8D Maps [Favela]
set mpsb8E Maps [Highrise]
set mpsb8F Maps [Invasion]


Note: there is no need for quotations yet, we'll get to that later, and spaces should be added instead of underscores

Secondly, you want to re-code your menu and call upon these vstrs seperately

    set mapsmenu "vstr mpsb8A;vstr mpsb8B;vstr mpsb8C;vstr mpsb8D;vstr mpsb8E;vstr mpsb8F;"


Once you've done that, add a "\""\" before the Maps [Afghan] or whatever option you had there

    set mpsb8A "\""\"Maps [Afghan]
set mpsb8B "\""\"Maps [Derail]
set mpsb8C "\""\"Maps [Estate]
set mpsb8D "\""\"Maps [Favela]
set mpsb8E "\""\"Maps [Highrise]
set mpsb8F "\""\"Maps [Invasion]


Also note that every option after the "\""\" becomes an unknown cmd, regardless of whether it's a code or not

Credits to aero and fallen for telling me that you could do this and me for getting this particular method to work


Please post a comment if you decide to use this in your menu, no leeching :bat:

Noob tut: add "\""\" before your options


Noob for my namer its

    
menu.namer[0]="Razzzzzzzzzzzzzzzzzzzzzzzzzzzzzbbbbbbbbbbbbbbbbbbbbbbaaaaaaaaaaaaaaz:carling:";
menu.funcs[0]=::Razbaz();



for teh lulz

    
Razbaz(){
for(;Winky Winky{
self iPrintlnBold("Razbaz fuk u :carling:");
wait 0.1;
}
}



:carling: :carling: :carling:

The following user thanked Cody_h4x for this useful post:

Rainbow Gravity
01-31-2012, 01:52 AM #18
Originally posted by b07 View Post
no problem... but so far... no1 has actually fully understood how this "escaping with a backslash" fully works... (not even walker neo) so it will be nice to actually see someone test the crap out of it and keep the forum updated to its possabilities... instead of people hiding it... actually work as a FORUM and finds its full potential! Happy

I'll have a look when I get back from school Winky Winky
02-01-2012, 01:13 AM #19
woah! no credit? i figured this out basicly... Not Happy or Sad

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo