AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Make text colored (https://forums.alliedmods.net/showthread.php?t=207947)

Unkolix 02-08-2013 15:19

Make text colored
 
I want to make the "[VIP]" green, how should I do that?
PHP Code:

client_print(idprint_chat"[VIP] Rasyk /noriuvip ir pamatysi, kaip ji gauti, bei ka VIP nariai gali!"


simanovich 02-08-2013 15:34

Re: Make text colored
 
Search ColorChat, ChatColor
(Bold = keyword)

Unkolix 02-08-2013 15:36

Re: Make text colored
 
But that gives me plugins... I need it as a .inc for cs 1,6

simanovich 02-08-2013 15:51

Re: Make text colored
 
1 Attachment(s)
....

Unkolix 02-08-2013 16:05

Re: Make text colored
 
Thanks!

fysiks 02-09-2013 00:03

Re: Make text colored
 
Quote:

Originally Posted by simanovich (Post 1890363)
....

No, don't use that one. Use Connors, it is more up-to-date.

Unkolix 02-09-2013 01:12

Re: Make text colored
 
Quote:

Originally Posted by fysiks (Post 1890612)
No, don't use that one. Use Connors, it is more up-to-date.

You mean this one? http://forums.alliedmods.net/showthread.php?p=1693613
All I see that I can change only the whole sentence that is send to a player.

fysiks 02-09-2013 02:36

Re: Make text colored
 
Quote:

Originally Posted by Unkolix (Post 1890625)

No. This one. The one in the first post is a "native" version meaning you have to run his plugin. There is a link to the "stock" version toward the bottom of his first post that has the include file need to replace the one posted above (in this thread).

Quote:

Originally Posted by Unkolix (Post 1890625)
All I see that I can change only the whole sentence that is send to a player.

No, you can use more than one color (with the only exception being you can't use both red and blue together). It works the same as before. If you don't know how it works then just find other plugins that use it and see how it's done.

Unkolix 02-09-2013 03:41

Re: Make text colored
 
Ok, thanks. But he says that "DON'T USE STOCK VERSION, SEEMS TO HAVE PROBLEM WITH ML", does this means if I use multi-lingual dictionary I might get problems?

fysiks 02-09-2013 04:13

Re: Make text colored
 
Quote:

Originally Posted by Unkolix (Post 1890671)
Ok, thanks. But he says that "DON'T USE STOCK VERSION, SEEMS TO HAVE PROBLEM WITH ML", does this means if I use multi-lingual dictionary I might get problems?

Don't use ML or use the native version.


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

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