Raised This Month: $ Target: $400
 0% 

[SOLVED] Colored print with dictionary?


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 10-09-2015 , 13:17   Re: [HELP] Colored print with dictionary?
#1

Look at your code

PHP Code:
    replace_all(msg,190,"/g","^4");    // green 
    
replace_all(msg,190,"/y","^1");    // normal 
    
replace_all(msg,190,"/t","^3");    // team 
/g is for green
/y is for normal yellow
/t depends on which team the receiver is (If he's CT then blue, if he's T then red, if he's Spectator then grey)
redivcram is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 10-09-2015 , 13:31   Re: [HELP] Colored print with dictionary?
#2

This is valid?

PHP Code:
replace_all(msg,190,"/g","^4");    // green 
replace_all(msg,190,"/y","^1");    // yellow 
replace_all(msg,190,"/r","^3");    // red
replace_all(msg,190,"/b","^2");    // blue
replace_all(msg,190,"/d","^5");    // transparent 
__________________









Last edited by CrazY.; 10-09-2015 at 13:32.
CrazY. is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 10-09-2015 , 14:45   Re: [HELP] Colored print with dictionary?
#3

No, only ^1, ^3 and ^4 are available.
Where did you get an idea that there's transparent?
redivcram is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 10-09-2015 , 15:01   Re: [HELP] Colored print with dictionary?
#4

Here:

PHP Code:
// Add to menu
if (class == g_zombieclassnext[id])
    
formatex(menucharsmax(menu), "\d%s [ %s ]"bufferbuffer2)
else
formatex(menucharsmax(menu), "%s \y[ %s ]"bufferbuffer2
\d is transparent.
__________________









Last edited by CrazY.; 10-09-2015 at 15:02.
CrazY. is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-09-2015 , 15:15   Re: [HELP] Colored print with dictionary?
#5

It's not transparent, it's grey. It's not chat, it's menu. You can only use ^1, ^3 and ^4 - end of story.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Depresie
Veteran Member
Join Date: Nov 2013
Old 10-10-2015 , 00:39   Re: [HELP] Colored print with dictionary?
#6

excuse him, he has a nest of angry wasps up at his arse
if you can't fix your attitude, then stop posting
Depresie is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 10-10-2015 , 09:45   Re: [HELP] Colored print with dictionary?
#7

Quote:
Originally Posted by Depresie View Post
excuse him, he has a nest of angry wasps up at his arse
if you can't fix your attitude, then stop posting
What do you mean? I did not understand , I spoke to me or to the OciXCrom?
__________________








CrazY. is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 10-09-2015 , 16:24   Re: [HELP] Colored print with dictionary?
#8

o.o , ok guy , thanks to all.
__________________








CrazY. is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-10-2015 , 10:23   Re: [SOLVED] Colored print with dictionary?
#9

He apparently thinks that I was yelling at you.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 10-10-2015 , 11:59   Re: [SOLVED] Colored print with dictionary?
#10

Quote:
Originally Posted by OciXCrom View Post
It's not transparent, it's grey. It's not chat, it's menu. You can only use ^1, ^3 and ^4 - end of story.
I am pointing doubt about it , if you were stressed out I want you to fuck , more respect for the people would be good.
__________________









Last edited by CrazY.; 10-10-2015 at 12:43.
CrazY. is offline
Closed Thread



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 22:13.


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