ULX

Author Topic: TTT OOC Chat  (Read 1966 times)

0 Members and 1 Guest are viewing this topic.

Offline wtitus

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
TTT OOC Chat
« on: July 09, 2014, 03:18:05 PM »
Hi everyone!
I was wondering, how do you enable OOC chat or something that accomplishes the same purpose in TTT?
Thanks!
-wtitus

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: TTT OOC Chat
« Reply #1 on: July 09, 2014, 09:14:34 PM »
Please define "OOC" to this old man.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Hollistupid

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: TTT OOC Chat
« Reply #2 on: July 09, 2014, 11:30:10 PM »
Haha, OOC = Out of character, typically a chat where people can discuss things not related to their character  ;) Honestly, for TTT this is a terrible idea and will most likely be utilized for things other than OOC matter, eg. GHOSTING>

Offline wtitus

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: TTT OOC Chat
« Reply #3 on: July 10, 2014, 04:39:51 AM »
I know, but I need a way for admins to talk to players who are alive without psay.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: TTT OOC Chat
« Reply #4 on: July 10, 2014, 08:34:10 AM »
ULX has no function for speaking to live players only.
Shouldn't be difficult for someone to throw together a ulx module though.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline wtitus

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: TTT OOC Chat
« Reply #5 on: July 11, 2014, 02:46:48 PM »
Could someone make an ULX module?

Offline Fanney

  • Newbie
  • *
  • Posts: 44
  • Karma: 11
Re: TTT OOC Chat
« Reply #6 on: July 11, 2014, 03:08:40 PM »
Could someone make an ULX module?
I dont think the TTT Gamemode has a hook for it, you can change it anyway by going into terrortown\gamemode\gamemsg.lua and search for "GM:PlayerSay" add after the
Code: [Select]
if not IsValid(ply) then return endfollowing code:
Code: [Select]
if ply:IsAdmin() then return text end