ULX

Poll

Was this module useful, and helpful?

Yes :)
92 (94.8%)
No :(
5 (5.2%)

Total Members Voted: 96

Author Topic: URL Playsound Addon :) [2.28v]  (Read 129549 times)

0 Members and 2 Guests are viewing this topic.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: URL Playsound Addon 2.0 :)
« Reply #45 on: August 14, 2013, 04:52:45 AM »
-snip-

I finally got it to work :D

Glad to hear :)
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline morten7000

  • Newbie
  • *
  • Posts: 39
  • Karma: -1
Re: URL Playsound Addon 2.0 :)
« Reply #46 on: August 17, 2013, 07:33:58 AM »
I was wondering, This there a way that you can modify this file or create a new one which did so the "Url playsound" played a sound when the round ended... Like "end of the round music" just without the download? :D That could be really great :)..

Like you can insert a link its gonna play everytime: innocentwin/traitorswin/timesup :)

But again, A really great plugin/addon :P

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: URL Playsound Addon 2.0 :)
« Reply #47 on: August 17, 2013, 07:42:38 AM »
I was wondering, This there a way that you can modify this file or create a new one which did so the "Url playsound" played a sound when the round ended... Like "end of the round music" just without the download? :D That could be really great :)..

Like you can insert a link its gonna play everytime: innocentwin/traitorswin/timesup :)

But again, A really great plugin/addon :P

Yes, that would be very easy. Though it depends how you would like it setup, because "end of round" music is someone generic. I would need the link to the sound you would want to be played, also would want to know when or how the sound is going to be played. If you answer all those factors, I may be able to assist you.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline morten7000

  • Newbie
  • *
  • Posts: 39
  • Karma: -1
Re: URL Playsound Addon 2.0 :)
« Reply #48 on: August 17, 2013, 02:05:46 PM »
Hey Chaos :D You gotta know that I have no expiriance in Lua.. well not much. And it was just a "dream" That i think i would share :)

If you wanna play around with it then I have this song https://dl.dropboxusercontent.com/u/192408473/iwins53765.wav
And the sound shoud be played when a round end?

But Isn't there some functions in Lua called like this?:
Code: [Select]
if wintype == WIN_INNOCENT then:and
Code: [Select]
elseif wintype == WIN_TRAITOR then:and
Code: [Select]
elseif wintype == WIN_TIMELIMIT then:?But again :D I dont know much of what i talk about ;)

Thanks you for you help and answer :)
« Last Edit: August 17, 2013, 02:09:40 PM by morten7000 »

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: URL Playsound Addon 2.0 :)
« Reply #49 on: August 17, 2013, 02:14:34 PM »
Hey Chaos :D You gotta know that I have no expiriance in Lua.. well not much. And it was just a "dream" That i think i would share :)

If you wanna play around with it then I have this song https://dl.dropboxusercontent.com/u/192408473/iwins53765.wav
And the sound shoud be played when a round end?

But Isn't there some functions in Lua called like this?:
Code: [Select]
if wintype == WIN_INNOCENT then:and
Code: [Select]
elseif wintype == WIN_TRAITOR then:and
Code: [Select]
elseif wintype == WIN_TIMELIMIT then:?But again :D I dont know much of what i talk about ;)

Thanks you for you help and answer :)

I'm assuming this is for TTT?
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given