Raised This Month: $32 Target: $400
 8% 

Help / Support Primary/Secondary Weapon Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FikusBL
New Member
Join Date: Jan 2018
Old 01-29-2018 , 04:21   Primary/Secondary Weapon Menu
Reply With Quote #1

Hello,
So I'm having an issue changing the color of the above mentioned menu.
This is what I mean, I want it to look like this - > https://prnt.sc/i722us
I've been trying to edit zombie_plague40.sma -> http://prntscr.com/i726lk with codes ^x01 etc..
What am I doing wrong?
FikusBL is offline
Hey
Member
Join Date: Dec 2017
Old 01-29-2018 , 17:45   Re: Primary/Secondary Weapon Menu
Reply With Quote #2

the menu colors doesn't work like that, look here are the available colors:
\r = red
\y = yellow
\w = white
\d = dark (Kind of gray)
Hey is offline
Perfect Scrash
Senior Member
Join Date: Aug 2013
Location: Brazil
Old 01-29-2018 , 20:10   Re: Primary/Secondary Weapon Menu
Reply With Quote #3

Find:
Code:
	// 1-7. Weapon List
	for (weap = WPN_STARTID; weap < maxloops; weap++)
		len += formatex(menu[len], charsmax(menu) - len, "\r%d.\w %s^n", weap-WPN_STARTID+1, WEAPONNAMES[ArrayGetCell(g_primary_weaponids, weap)])
Replace:
Code:
	// 1-7. Weapon List
	for (weap = WPN_STARTID; weap < maxloops; weap++)
		len += formatex(menu[len], charsmax(menu) - len, "\r%d.\w -=|**\r %s\w **|=-^n", weap-WPN_STARTID+1, WEAPONNAMES[ArrayGetCell(g_primary_weaponids, weap)])
After Replace. Find (Now in Secondary Menu):
Code:
	// 1-6. Weapon List
	for (weap = 0; weap < maxloops; weap++)
		len += formatex(menu[len], charsmax(menu) - len, "^n\r%d.\w %s", weap+1, WEAPONNAMES[ArrayGetCell(g_secondary_weaponids, weap)])
And Replace:
Code:
	// 1-6. Weapon List
	for (weap = 0; weap < maxloops; weap++)
		len += formatex(menu[len], charsmax(menu) - len, "^n\r%d.\w -=|**\r %s\w **|=-", weap+1, WEAPONNAMES[ArrayGetCell(g_secondary_weaponids, weap)])
__________________
Perfect Scrash is offline
Send a message via Skype™ to Perfect Scrash
FikusBL
New Member
Join Date: Jan 2018
Old 01-30-2018 , 05:45   Re: Primary/Secondary Weapon Menu
Reply With Quote #4

@Perfect Scrash, thank you, it's working!
FikusBL is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode