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, 04:21 PM, (This post was last modified: 16-06-2015, 04:51 PM by shinji144.)
#40
shinji144 Offline
TSCM Member
***
Posts: 5
Threads: 2
Joined: Jun 2015
Question  RE: Starfall Help
I'm having trouble figuring out why print behaves the way it does in the following example.
Code:
--@name print test --@author Shinji (STEAM_0:0:13398623) http://steamcommunity.com/profiles/76561197987062974/ local asdf1 = "1" print(asdf1) --shared if SERVER then --server local asdf2 = "2" print(asdf2) else --client local asdf3 = "3" print(asdf3) end
runs as - with starfall processor,
[Image: G8AgoiI.png]
The output of 1 makes sense, server and client should both print. However, shouldn't the output of 2 be only in blue? And why does 3 not print at all?

Can anyone explain why the 2 output also prints as client, and why the 3 output does not print at all?

EDIT:
Tried using a starfall screen at Divran's suggestion, and got this-
(adding --@sharedscreen directive)
[Image: OkusgyM.png]
Now 3 prints but it also seems to print as server, 2 also still prints as client. Divran mentioned that this is debug print. Is there a way to turn this off so only server prints server, client prints client, and shared prints on both client and server- else a future feature request perhaps?

Also, why does 1 print twice to server and client?
Website 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.