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
03-06-2015, 05:57 PM,
#39
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Starfall Help
(03-06-2015, 12:25 AM)Destinys Player Wrote: The "sound" part of SoundConfusedtop() should be a variable that you set the actual sound to. i.e.

--This here sets a variable to a sound.
Beep = sounds.create(SomeEntity,"Path/To/The/Beep")

--This here plays the sound.
Beep.play()

--This here stops the sound.
Beep.stop()

The documentation doesn't really explain it because it's placed under "Types", which lists all the functions that are used ON something, not just by themselves.
Need a :, not a . to call methods, i.e
Beep:play()
BeepConfusedtop()
Otherwise you'll get a type error as methods are really just functions whose first argument is magically the object they're being called on.
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:
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.