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

Register

Team Spartan Cookies & Milk Forums Garry's Mod Help and Support v
« Previous 1 … 12 13 14 15 16 … 21 Next »
chat.listen(callback, ply) not working
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
chat.listen(callback, ply) not working
15-01-2016, 06:56 PM,
#1
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
chat.listen(callback, ply) not working
Hey Person,

Tested by EisteeGolem and me : when you put a player parameter to the function it never reconizes any messages you say !
I was using that method from the begining of LanAI as I don't want to listen to everyone because that would fire the method a lot of times and probable crash because of CPU time.
Can you fix the problem ?
Find
Reply
15-01-2016, 08:10 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: chat.listen(callback, ply) not working
Fixed, sorry about that. Re-ordered the chat listening stuff (to fix it not picking up messages E2 hides) and missed a few values that let it identify which callbacks belong to the current player speaking.
Find
Reply
15-01-2016, 10:47 PM,
#3
Kosmos Offline
GMod Admin
Posts: 180
Threads: 3
Joined: Dec 2013
RE: chat.listen(callback, ply) not working
(15-01-2016, 08:10 PM)Person8880 Wrote: Re-ordered the chat listening stuff (to fix it not picking up messages E2 hides)
Does that mean that starfall can now pick up messages hidden by an E2 but not the other way around? Or are they now run in parallel?
Find
Reply
15-01-2016, 11:26 PM,
#4
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: chat.listen(callback, ply) not working
(15-01-2016, 10:47 PM)Kosmos Wrote:
(15-01-2016, 08:10 PM)Person8880 Wrote: Re-ordered the chat listening stuff (to fix it not picking up messages E2 hides)
Does that mean that starfall can now pick up messages hidden by an E2 but not the other way around? Or are they now run in parallel?
It means if Starfall hides the chat, E2 won't see it. It would be a bit more work to get them both to see each other.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


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

Powered By MyBB, © 2002-2026 MyBB Group.