Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 15 of 15
Search took 0.01 seconds.
Search: Posts Made By: Exolent[jNr]
Forum: Code Snippets/Tutorials 03-27-2012, 12:29
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Re: [Native/Stock] ColorChat v0.2.1 (28 dec 2010)

You don't understand that ^ are escaped at compile time and not run time.
Therefore, any input string that is not compiled will not recognize ^ as an escape character.
You have to escape the input...
Forum: Code Snippets/Tutorials 02-09-2012, 14:27
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Re: [Native/Stock] ColorChat v0.2.1 (28 dec 2010)

That is white (from con_color "255 255 255"), not the gray you get from spectator color.
Forum: Code Snippets/Tutorials 01-21-2012, 19:42
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Re: [Native/Stock] ColorChat v0.2.1 (28 dec 2010)

If you want multiple lines, just send multiple chat messages.
Forum: Code Snippets/Tutorials 01-11-2012, 11:11
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Forum: Code Snippets/Tutorials 01-02-2012, 13:16
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Re: [Native/Stock] ColorChat v0.2.1 (28 dec 2010)

Umm. That has always existed. It is a "team" color just like red and blue.
Forum: Code Snippets/Tutorials 04-27-2011, 22:27
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Re: [Native/Stock] ColorChat v0.2.1 (28 dec 2010)

No, it changes the TeamInfo only for iFool but shows it to everyone.
Forum: Code Snippets/Tutorials 09-21-2010, 16:05
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Re: [Native] ColorChat v0.1.0

Then why not add Green and Normal/Yellow to the colors like the original ColorChat and switch between 0x01 for normal and 0x04 for green?
Forum: Code Snippets/Tutorials 09-21-2010, 16:03
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Re: [Native] ColorChat v0.1.0

For some reason, if no team color is specified, the message begins as green.
I don't know why Connor did this.
Anyway, prefix the messages with !n for normal color and it should be fixed.
Forum: Code Snippets/Tutorials 10-26-2009, 15:43
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Re: [Native] ColorChat v0.1.0

Could be.

get_user_team( ) uses the same resource that is used for team comparison in get_players( ).

static cell AMX_NATIVE_CALL get_user_team(AMX *amx, cell *params) /* 3 param */
{
int...
Forum: Code Snippets/Tutorials 10-26-2009, 15:24
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Re: [Native] ColorChat v0.1.0

cs_set_user_team( ) uses the standard MESSAGE_BEGIN( ) like message_begin( ), rather than the lookup table workaround like emessage_begin( ).
Forum: Code Snippets/Tutorials 10-26-2009, 09:36
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Re: [Native] ColorChat v0.1.0

ColorChat( ) uses get_user_team( ).

Do something like this:new g_iMsgId_TeamInfo = get_user_msgid( "TeamInfo" );

new iBlock = get_msg_block( g_iMsgId_TeamInfo );
set_msg_block(...
Forum: Code Snippets/Tutorials 10-23-2009, 15:54
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Re: [Native] ColorChat v0.1.0

This is neither a plugin, nor a native.
It is considered a library, because it is a plugin that supplies a native.
Forum: Code Snippets/Tutorials 09-13-2009, 13:44
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Re: [Native] ColorChat v0.1.0

Hmm. I guess I wasn't thinking clearly to catch that.
I guess you are going to have to modify the ColorChat function to fix this.

I suggest removing the !x syntax from the function, and then you...
Forum: Code Snippets/Tutorials 09-10-2009, 21:52
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Re: [Native] ColorChat v0.1.0

Well, the easiest solution is to replace all the !t with !!t, and the same pattern for the others.
Forum: Code Snippets/Tutorials 06-18-2009, 01:02
Replies: 282
Views: 291,201
Posted By Exolent[jNr]
Re: Native : ColorChat

The problem with "^4" or the others in the ML is that it doesn't read '^' as the escape character. It reads it as "^^4".
So, you can do it with "!g" or "^4" or whatever you prefer, but you will need...
Showing results 1 to 15 of 15

 
Forum Jump

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


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