AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Little help here :D (https://forums.alliedmods.net/showthread.php?t=306407)

Nobody.aMxx 03-29-2018 13:16

Little help here :D
 
This is line:
Code:

client_print_color(0, id, "^3[InFiNiTy] Admin %s:^1%s", name, message)
This is showing player's team color, not '^3" color...How to fix it?
Example if player is CT its blue, if he is in T its red, i want it only ^3

WhiteFang1319 03-29-2018 13:18

Re: Little help here :D
 
^3 in client print color indicates team color. It's working as it should

Nobody.aMxx 03-29-2018 13:19

Re: Little help here :D
 
Quote:

Originally Posted by WhiteFang1319 (Post 2585180)
^3 in client print color indicates team color. It's working as it should

But i want custom color, only green (not player's team color)

btw its amx_say

WhiteFang1319 03-29-2018 13:23

Re: Little help here :D
 
Use ^4 for green. ^1 for normal

Nobody.aMxx 03-29-2018 13:24

Re: Little help here :D
 
Quote:

Originally Posted by WhiteFang1319 (Post 2585183)
Use ^4 for green. ^1 for normal

Are you blind?
I CAN PUT ^4 BUT STILL IT WILL RETURN PLAYER'S TEAM COLOR, LMAO

Nobody.aMxx 03-29-2018 13:30

Re: Little help here :D
 
Fixed it myself, thx on help WhiteFang, only ^4 will work :P

EDIT:
Sorry i forgot about dp

WhiteFang1319 03-29-2018 13:30

Re: Little help here :D
 
Try:
client_print_color(id, print_chat, "^4 Your Msg");


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

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