Raised This Month: $120 Target: $400
 30% 

[HELP] Cvar Change Message in Colors


Post New Thread Reply   
 
Thread Tools Display Modes
shehzad1234
Senior Member
Join Date: Jan 2016
Old 09-15-2018 , 18:08   Re: [HELP] Cvar Change Message in Colors
Reply With Quote #11

oh my bad sorry its worked but how can i color this text please tell me ;-;

https://imgur.com/a/GMnDSQq
__________________
Contact : Facebook
All Join -=}BBI{=- Hns Server :- 103.50.161.8:10001

Last edited by shehzad1234; 09-15-2018 at 18:08.
shehzad1234 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 09-15-2018 , 20:15   Re: [HELP] Cvar Change Message in Colors
Reply With Quote #12

The same way you colored the other part of it.
__________________

Last edited by OciXCrom; 09-15-2018 at 20:15.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
shehzad1234
Senior Member
Join Date: Jan 2016
Old 09-16-2018 , 14:18   Re: [HELP] Cvar Change Message in Colors
Reply With Quote #13

but i cant find that line on code i really dont know where is that line in source code
__________________
Contact : Facebook
All Join -=}BBI{=- Hns Server :- 103.50.161.8:10001
shehzad1234 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 09-16-2018 , 14:22   Re: [HELP] Cvar Change Message in Colors
Reply With Quote #14

For the last time - YOU DON'T CHANGE ANYTHING IN THE SOURCE CODE.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
shehzad1234
Senior Member
Join Date: Jan 2016
Old 09-16-2018 , 14:42   Re: [HELP] Cvar Change Message in Colors
Reply With Quote #15

Quote:
Originally Posted by OciXCrom View Post
For the last time - YOU DON'T CHANGE ANYTHING IN THE SOURCE CODE.
ohk bro sure but in txt where i can find ADMIN %s in txt file there is many ADMIN %s but for slap kick / ban didn't see for cvar

Code:
NO_MORE_CVARS = Can't add more cvars for rcon access!
UNKNOWN_CVAR = Unknown cvar: %s
CVAR_NO_ACC = You have no access to that cvar
CVAR_IS = Cvar "%s" is "%s"
PROTECTED = PROTECTED
SET_CVAR_TO = &x04%s &x03set cvar&x04 %s&x03 to &x01"&x04%s&x01"
CVAR_CHANGED = Cvar "%s" changed to "%s"
LOADED_PLUGINS = Currently loaded plugins
__________________
Contact : Facebook
All Join -=}BBI{=- Hns Server :- 103.50.161.8:10001

Last edited by shehzad1234; 09-16-2018 at 14:43.
shehzad1234 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 09-16-2018 , 16:57   Re: [HELP] Cvar Change Message in Colors
Reply With Quote #16

You can open admincmd.sma and see which line is used in the amx_cvar command. It's SET_CVAR_TO.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
shehzad1234
Senior Member
Join Date: Jan 2016
Old 09-16-2018 , 17:20   Re: [HELP] Cvar Change Message in Colors
Reply With Quote #17

new g_addCvar[] = "amx_cvar add %s"
i see this now what i want to edit bro
__________________
Contact : Facebook
All Join -=}BBI{=- Hns Server :- 103.50.161.8:10001
shehzad1234 is offline
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 09-17-2018 , 05:51   Re: [HELP] Cvar Change Message in Colors
Reply With Quote #18

Quote:
Originally Posted by shehzad1234 View Post
oh my bad sorry its worked but how can i color this text please tell me ;-;

https://imgur.com/a/GMnDSQq
You need to edit common.txt language file.

This line:
Code:
ADMIN = ADMIN

Last edited by tousif; 09-17-2018 at 05:53.
tousif is offline
shehzad1234
Senior Member
Join Date: Jan 2016
Old 09-24-2018 , 19:30   Re: [HELP] Cvar Change Message in Colors
Reply With Quote #19

Quote:
Originally Posted by tousif View Post
You need to edit common.txt language file.

This line:
Code:
ADMIN = ADMIN
oh thanks bro
__________________
Contact : Facebook
All Join -=}BBI{=- Hns Server :- 103.50.161.8:10001
shehzad1234 is offline
Reply


Thread Tools
Display Modes

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 00:38.


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