Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 4 5 6 7 8 … 18 Next »
chat.listen()
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
chat.listen()
15-08-2019, 10:53 PM,
#1
The17thDoctor Offline
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
chat.listen()
I noticed that using chat.listen() while returning true in the callback doesnt work with "/" or "!" prefixes

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
18-08-2019, 10:24 AM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: chat.listen()
What about it doesn't work? Anything that starts with "/" or "!" in the chat is automatically hidden, returning true in the callback just indicates the text is consumed (and thus hides it from other player's Starfall chips, assuming it's your own chat).
Find
Reply
18-08-2019, 02:31 PM, (This post was last modified: 18-08-2019, 02:31 PM by The17thDoctor. Edited 1 time in total.)
#3
The17thDoctor Offline
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
RE: chat.listen()
(18-08-2019, 10:24 AM)Person8880 Wrote: returning true in the callback just indicates the text is consumed (and thus hides it from other player's Starfall chips, assuming it's your own chat).

This part when using prefixes such as "!" or "/" does not work, it hides the chat but does not consume it and thus not hiding it from other player's Starfalls.

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
18-08-2019, 04:17 PM,
#4
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: chat.listen()
(18-08-2019, 02:31 PM)тѕсм.The17thDoctor Wrote:
(18-08-2019, 10:24 AM)Person8880 Wrote: returning true in the callback just indicates the text is consumed (and thus hides it from other player's Starfall chips, assuming it's your own chat).

This part when using prefixes such as "!" or "/" does not work, it hides the chat but does not consume it and thus not hiding it from other player's Starfalls.
Who did you try this with?
Find
Reply
18-08-2019, 07:26 PM, (This post was last modified: 18-08-2019, 07:38 PM by The17thDoctor. Edited 2 times in total.)
#5
The17thDoctor Offline
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
RE: chat.listen()
Ok, so I retried with another player to help me and it seems im just being stupid, sorry for wasting your time.

EDIT : Of course it wont hide it from your own SFs.

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread:
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.