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 … 5 6 7 8 9 … 18 Next »
Function Request
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Function Request
25-01-2018, 02:26 PM,
#2
Kosmos Offline
GMod Admin
Posts: 180
Threads: 3
Joined: Dec 2013
RE: Function Request
See https://github.com/wiremod/wire/blob/mas...logram.lua
Code:
e2function void holoVisible(index, array players, visible) local Holo = CheckIndex(self, index) if not Holo then return end set_visible(Holo, players, visible) end
The client receives a net message and does the equivalent of
Code:
Hologram:setNoDraw(<boolean>)
Don't call this on the server, it might make the entity cease to exist clientside.
E2 can't run on the client, but starfall can. So it's up to you to synchronize this. Just be careful, if you do it like this the entity might flash visible to everyone for a second, as it does with E2.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Function Request - by 4N0NYM - 25-01-2018, 01:19 PM
RE: Function Request - by Kosmos - 25-01-2018, 02:26 PM

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