AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   I need colored stats on hit dmg (https://forums.alliedmods.net/showthread.php?t=141946)

yOou Know Me 10-30-2010 16:50

I need colored stats on hit dmg
 
1 Attachment(s)
I need this one ?

makiza 10-30-2010 21:55

Re: I need colored stats on hit dmg
 
amxmodx already have this feature

am_amx 10-30-2010 23:14

Re: I need colored stats on hit dmg
 
Quote:

Originally Posted by makiza (Post 1337897)
amxmodx already have this feature

i think you won't get the colored text it would be in normal color(yellow)

reinert 10-31-2010 03:34

Re: I need colored stats on hit dmg
 
^x04 green
^x03 team color
^x01 normal

? :) isn't it?

yOou Know Me 10-31-2010 11:32

Re: I need colored stats on hit dmg
 
Quote:

Originally Posted by makiza (Post 1337897)
amxmodx already have this feature


What do u mean "have this feature" how can i use it then ??

reinert 10-31-2010 12:15

Re: I need colored stats on hit dmg
 
Read my post, you can use it by inserting color codes before text message

yOou Know Me 11-10-2010 10:28

Re: I need colored stats on hit dmg
 
What is the name of the plugin who is responsable for the DMG i mean wich sma fail i should look for this ?

Leon_12 11-10-2010 15:19

Re: I need colored stats on hit dmg
 
use
^x04 green
^x03 team color
^x01 normal

or use
Code:

// Colour Chat
stock client_printc(const id, const input[], any:...)
{
 new count = 1, players[32]
 static msg[191]
 vformat(msg, 190, input, 3)
 
 replace_all(msg, 190, "!g", "^x04")
 replace_all(msg, 190, "!n", "^x01")
 replace_all(msg, 190, "!t", "^x03")
 
 if (id) players[0] = id; else get_players(players, count, "ch");
 {
  for (new i = 0; i < count; i++)
  {
  if (is_user_connected(players[i]))
  {
    message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
    write_byte(players[i]);
    write_string(msg);
    message_end();
  }
  }
    }
 }



All times are GMT -4. The time now is 00:28.

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