Poll

Was this module useful, and helpful?

Yes :)
274 (87.5%)
No :(
39 (12.5%)

Total Members Voted: 0

  • Print

Author Topic: Player Chat Tags [2.58v]  (Read 620597 times)

0 Members and 1 Guest are viewing this topic.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Player Chat Tags [2.57v]
« Reply #150 on: March 16, 2015, 10:06:29 pm »
So how would i make it like this?

[Owner] seabeds: hey

I'd like white brackets and a colored tag.

Depends what version you're using, are you using the automatic one, or the manage version?
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline seabeds

  • Newbie
  • *
  • Posts: 35
  • Karma: 0
    • Seaside TTT
Re: Player Chat Tags [2.57v]
« Reply #151 on: March 17, 2015, 08:08:27 pm »
Depends what version you're using, are you using the automatic one, or the manage version?

I've tried the manage version, on my TTT server. I don't think i tried the automatic one.
« Last Edit: March 17, 2015, 08:11:52 pm by seabeds »

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Player Chat Tags [2.57v]
« Reply #152 on: March 18, 2015, 07:55:00 pm »
I've tried the manage version, on my TTT server. I don't think i tried the automatic one.

http://puu.sh/gGh3Q/a28e62b2cb.zip
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline seabeds

  • Newbie
  • *
  • Posts: 35
  • Karma: 0
    • Seaside TTT
Re: Player Chat Tags [2.57v]
« Reply #153 on: March 19, 2015, 10:49:55 am »
http://puu.sh/gGh3Q/a28e62b2cb.zip

? I tried this already. Can't seem to get it to work. Terrorists and Dead have a tag and the ones i set up don't even apply.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Player Chat Tags [2.57v]
« Reply #154 on: March 19, 2015, 11:22:52 pm »
? I tried this already. Can't seem to get it to work. Terrorists and Dead have a tag and the ones i set up don't even apply.

lets me see your teams you're trying to set up, you most likely are doing it wrong.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline seabeds

  • Newbie
  • *
  • Posts: 35
  • Karma: 0
    • Seaside TTT
Re: Player Chat Tags [2.57v]
« Reply #155 on: March 20, 2015, 06:59:40 am »
lets me see your teams you're trying to set up, you most likely are doing it wrong.


Code: Lua
  1. local Tags =
  2. {
  3. --Group    --Tag     --Color
  4. {"admin", "[Admin]", Color(0, 0, 255, 255) },
  5. {"owner", "[Owner]", Color(0, 255, 0, 255) },
  6. {"moderator", "[Mod] ", Color(0, 255, 0, 0) },
  7. }
« Last Edit: March 20, 2015, 08:13:44 pm by seabeds »

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Player Chat Tags [2.57v]
« Reply #156 on: March 20, 2015, 08:18:51 pm »

Code: Lua
  1. local Tags =
  2. {
  3. --Group    --Tag     --Color
  4. {"admin", "[Admin]", Color(0, 0, 255, 255) },
  5. {"owner", "[Owner]", Color(0, 255, 0, 255) },
  6. {"moderator", "[Mod] ", Color(0, 255, 0, 0) },
  7. }


not sure what your issue could be.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Player Chat Tags [2.57v]
« Reply #157 on: March 20, 2015, 10:22:19 pm »
If terrorists and dead have tags it's likely that TTT or another addon are overriding the chat box.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline seabeds

  • Newbie
  • *
  • Posts: 35
  • Karma: 0
    • Seaside TTT
Re: Player Chat Tags [2.57v]
« Reply #158 on: March 21, 2015, 08:06:18 am »
Where would you place the lua folder?

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Player Chat Tags [2.57v]
« Reply #159 on: March 21, 2015, 08:21:03 am »
Where would you place the lua folder?
... from the wording of this post, I think I've found your issue.
You'll want to take the folder with /lua/ directly inside it (not anything one directory above, and certainly not the lua folder itself), and drop it in /garrysmod/addons/ on your server.
bw81@ulysses-forums ~ % whoami
Homepage

Offline seabeds

  • Newbie
  • *
  • Posts: 35
  • Karma: 0
    • Seaside TTT
Re: Player Chat Tags [2.57v]
« Reply #160 on: March 21, 2015, 09:17:47 am »
... from the wording of this post, I think I've found your issue.
You'll want to take the folder with /lua/ directly inside it (not anything one directory above, and certainly not the lua folder itself), and drop it in /garrysmod/addons/ on your server.
Gosh, first time around i did that, second time, not so much. Thanks for the reminder :)

Also, by the way i coded it, will the brackets be white or the same color as the tag? ie; [Mod]

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Player Chat Tags [2.57v]
« Reply #161 on: March 21, 2015, 09:32:00 am »
Gosh, first time around i did that, second time, not so much. Thanks for the reminder :)

Also, by the way i coded it, will the brackets be white or the same color as the tag? ie; [Mod]
Same color as the tag, unless you explicitly modify the addon's code.
bw81@ulysses-forums ~ % whoami
Homepage

Offline seabeds

  • Newbie
  • *
  • Posts: 35
  • Karma: 0
    • Seaside TTT
Re: Player Chat Tags [2.57v]
« Reply #162 on: March 21, 2015, 10:13:26 am »
Same color as the tag, unless you explicitly modify the addon's code.

Ah ok. Do you think you can help me with one tag? I can read it afterwards and try to learn what you did to make it the way i'm trying to do it

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Player Chat Tags [2.57v]
« Reply #163 on: March 21, 2015, 10:38:39 am »
Ah ok. Do you think you can help me with one tag? I can read it afterwards and try to learn what you did to make it the way i'm trying to do it
Shoot me a PM with what you want done, I'll see what I can do.
bw81@ulysses-forums ~ % whoami
Homepage

Offline seabeds

  • Newbie
  • *
  • Posts: 35
  • Karma: 0
    • Seaside TTT
Re: Player Chat Tags [2.57v]
« Reply #164 on: March 21, 2015, 11:30:50 am »
Shoot me a PM with what you want done, I'll see what I can do.

Ok i pm'ed you, not sure if it went thru though.

  • Print