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

[HELP] Cvar Change Message in Colors


Post New Thread Reply   
 
Thread Tools Display Modes
shehzad1234
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 09-15-2018 , 17: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

Last edited by shehzad1234; 09-15-2018 at 17:08.
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 09-15-2018 , 19: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 19:15.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
shehzad1234
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 09-16-2018 , 13: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
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 09-16-2018 , 13: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
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 09-16-2018 , 13: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

Last edited by shehzad1234; 09-16-2018 at 13:43.
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 09-16-2018 , 15: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
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 09-16-2018 , 16: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
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 09-17-2018 , 04: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 04:53.
tousif is offline
shehzad1234
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 09-24-2018 , 18: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
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
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 04:46.


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