Colored text messages
2 Attachment(s)
Hi,
How can I put colors in texts in "Configuration Settings" file? E.g. PHP Code:
Here are the files that I have: .SMA .CFG Many thanks in advance, looking forward! |
Re: Colored text messages
Wrong section.
|
Re: Colored text messages
Quote:
Look around there are plenty of plugins that already have colorprints in it. just copie it or make an include of it |
Re: Colored text messages
Quote:
What I am trying to ask is a help for the codes in the .sma file so that when I put [green] [/green] in a configuration settings file, there will be color in-game. The only color I can manage is the chatcolor by Conor but it is applicable in .sma files only, not for configuration settings file (the .ini file I attached) -- Any help out there. Thank you, looking forward! |
Re: Colored text messages
PHP Code:
? |
Re: Colored text messages
Quote:
1. .SMA file = the file where the .ini file is based and gets functions 2. .INI file = the file where I input the commands I want to have in my server in simple way because it already gets the functions from the .SMA file. My question is, how can I put colored text messages using the .INI file but the script/function will come from the .SMA file so that when I put [green] [/green] in the .INI file, i will get a colored text chat in-game. |
Re: Colored text messages
Quote:
download a colorchat include or strip a colorchat stock from an existing plugin into an include yourself. I recommend the colorprint from pastout's jailbreakmod. It is very good and can display multiple colors (green, team based red, blue) and is user friendly. you can simply use his stock in the sma itself or if you use a plugin that uses a dictonary then you can put the colors in the dictonary itself. a lil example: In the script: PHP Code:
Code:
//inside the dictonary (.txt): |
Re: Colored text messages
Take a look at this plugin.
|
Re: Colored text messages
Quote:
|
Re: Colored text messages
Quote:
Maybe you still don't understand my point :) Here it is in detail: I attached GHW Say commands - .SMA FILE - Where codes are put and where you include <chatcolor> to have colored chat text messages in-game. I attached Say_Commands - .INI FILE - Where texts are put so they apprear in-game, but the functions will be called from the .SMA file. *It is clear to me that: Quote:
Hope its somehow clear, looking forward :) |
| All times are GMT -4. The time now is 00:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.