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 … 13 14 15 16 17 18 Next »
Starfall Help
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Starfall Help
16-06-2015, 05:53 PM,
#43
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Starfall Help
It prints "1" twice because the server runs, prints it, then a while later, your client receives the code and then runs the print again on the client. Client and server do not run at the same time at startup (or ever really). Bear in mind that the "shared" environment still exists in 2 places, it's not really an environment so much as you're just happy to have code run on both sides.

The reason for the double coloured print, is that the "print" is actually GLua's PlayerTonguerintMessage( HUD_PRINTTALK, Message ). The blue is the chat being replicated to the console, the yellow is PrintMessage replicating its output to the console. I don't really see the point in making a special snowflake print function just to avoid that. If you really want a useful print, just use printConsole instead and avoid the chat version.

I was tempted to change print to be console based and deprecate printConsole, but people are pretty used to chat-based printing. Not sure if it would go down well.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Starfall Help - by Alanzote - 24-05-2015, 07:36 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 08:00 PM
RE: Starfall Help - by Blackhawk - 24-05-2015, 08:01 PM
RE: Starfall Help - by Alanzote - 24-05-2015, 08:05 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 08:12 PM
RE: Starfall Help - by Alanzote - 24-05-2015, 08:13 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 08:20 PM
RE: Starfall Help - by Alanzote - 24-05-2015, 08:22 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 08:25 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 08:33 PM
RE: Starfall Help - by Alanzote - 24-05-2015, 08:34 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 08:36 PM
RE: Starfall Help - by Alanzote - 24-05-2015, 08:39 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 09:34 PM
RE: Starfall Help - by Alanzote - 24-05-2015, 09:48 PM
RE: Starfall Help - by Person8880 - 24-05-2015, 09:51 PM
RE: Starfall Help - by Alanzote - 25-05-2015, 10:07 PM
RE: Starfall Help - by SuperPlayer - 25-05-2015, 10:39 PM
RE: Starfall Help - by Alanzote - 25-05-2015, 10:59 PM
RE: Starfall Help - by SuperPlayer - 25-05-2015, 11:13 PM
RE: Starfall Help - by Alanzote - 26-05-2015, 02:47 PM
RE: Starfall Help - by SuperPlayer - 26-05-2015, 03:57 PM
RE: Starfall Help - by Person8880 - 26-05-2015, 05:52 PM
RE: Starfall Help - by Alanzote - 26-05-2015, 09:51 PM
RE: Starfall Help - by Alanzote - 27-05-2015, 02:12 PM
RE: Starfall Help - by TheOneAndOnlyTee - 27-05-2015, 02:11 AM
RE: Starfall Help - by Red The Blue Color - 27-05-2015, 08:33 AM
RE: Starfall Help - by TheOneAndOnlyTee - 27-05-2015, 08:47 AM
RE: Starfall Help - by Person8880 - 27-05-2015, 05:40 PM
RE: Starfall Help - by Alanzote - 27-05-2015, 09:36 PM
RE: Starfall Help - by Alanzote - 28-05-2015, 02:37 PM
RE: Starfall Help - by Blackhawk - 28-05-2015, 04:10 PM
RE: Starfall Help - by Alanzote - 03-06-2015, 12:16 AM
RE: Starfall Help - by Alanzote - 30-05-2015, 11:13 PM
RE: Starfall Help - by Red The Blue Color - 31-05-2015, 01:42 AM
RE: Starfall Help - by Alanzote - 31-05-2015, 09:30 PM
RE: Starfall Help - by SuperPlayer - 31-05-2015, 09:37 PM
RE: Starfall Help - by Destiny's Player - 03-06-2015, 12:25 AM
RE: Starfall Help - by Person8880 - 03-06-2015, 05:57 PM
RE: Starfall Help - by shinji144 - 16-06-2015, 04:21 PM
RE: Starfall Help - by SuperPlayer - 16-06-2015, 04:54 PM
RE: Starfall Help - by shinji144 - 16-06-2015, 05:28 PM
RE: Starfall Help - by Person8880 - 16-06-2015, 05:53 PM
RE: Starfall Help - by shinji144 - 16-06-2015, 06:01 PM

  • 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.