CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
Call of Duty: Black Ops 2 Scripts Questions
Call of Duty: Black Ops 2 Answered Questions
No names in player menu {10+ players or so}
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="TheHiddenHour" data-source="post: 13271" data-attributes="member: 7602"><p>Then it might be the amount of characters you're passing through a text element.</p><p></p><p>The \n fix gets all of your option text and combines it together.</p><p>Say you have the options</p><ol> <li data-xf-list-type="ol">Main Menu</li> <li data-xf-list-type="ol">Fun Menu</li> <li data-xf-list-type="ol">Theme Menu</li> </ol><p>What the \n fix does is makes your text into this string format: "Main Menu\nFun Menu\nTheme Menu" and then set your option text HUD to that string</p><p>If you count it, that's 31 characters in total. If the max amount of characters allowed in a text HUD is only 30, and you're trying to pass 31 through, the text HUD is going to simply disappear.</p><p></p><p><strong>The easy to fix this is to minimize the amount of characters in your string.</strong></p><p>Instead of using things like [^5CoHost^7] for your verifications, use something simple like [^5CH^7]. This will reduce 12 characters to 8, so you save them.</p><p>You could also make a function to get rid of clantags in the option text.</p><p><strong>The other way to fix this is to not use the \n fix</strong></p><p>You could convert your base to use individual option huds instead of using the \n fix. What this will do is give you the option to use 300+ chars in every option instead of 300 in total. <u>However, this also means that you are using more HUDs. You will no longer be using 1 HUD for your options, but instead use 1 HUD per displayed option.</u></p></blockquote><p></p>
[QUOTE="TheHiddenHour, post: 13271, member: 7602"] Then it might be the amount of characters you're passing through a text element. The \n fix gets all of your option text and combines it together. Say you have the options [LIST=1] [*]Main Menu [*]Fun Menu [*]Theme Menu [/LIST] What the \n fix does is makes your text into this string format: "Main Menu\nFun Menu\nTheme Menu" and then set your option text HUD to that string If you count it, that's 31 characters in total. If the max amount of characters allowed in a text HUD is only 30, and you're trying to pass 31 through, the text HUD is going to simply disappear. [B]The easy to fix this is to minimize the amount of characters in your string.[/B] Instead of using things like [^5CoHost^7] for your verifications, use something simple like [^5CH^7]. This will reduce 12 characters to 8, so you save them. You could also make a function to get rid of clantags in the option text. [B]The other way to fix this is to not use the \n fix[/B] You could convert your base to use individual option huds instead of using the \n fix. What this will do is give you the option to use 300+ chars in every option instead of 300 in total. [U]However, this also means that you are using more HUDs. You will no longer be using 1 HUD for your options, but instead use 1 HUD per displayed option.[/U] [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
Call of Duty: Black Ops 2 Scripts Questions
Call of Duty: Black Ops 2 Answered Questions
No names in player menu {10+ players or so}
CabConModding is now on facebook! Check the latest Updates, the Site Status and much more now!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top