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 … 3 4 5 6 7 … 18 Next »
hook("starfall_used") returning a repeater
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
hook("starfall_used") returning a repeater
18-04-2020, 01:38 AM, (This post was last modified: 18-04-2020, 02:07 AM by The17thDoctor. Edited 1 time in total.)
#1
The17thDoctor Offline
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
hook("starfall_used") returning a repeater
Could the "starfall_used" hook return the used entity in case it's for example a starfall repeater ? Would be very handy to make for example a screen with duplicates on which we could still interact with.
EDIT : I found out you could just return the player's aim entity.

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
18-04-2020, 10:18 AM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: hook("starfall_used") returning a repeater
The hook already passes through the repeater screen entity as the second argument if use was pressed on a repeater, it just wasn't mentioned in the documentation. I've corrected the docs now.
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.