Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kunit

Pages: 1 ... 5 6 7 8 9 [10] 11 12 13 14 15 ... 97
136
Off Topic / Re: Surveillance
« on: August 09, 2009, 12:59:49 AM »
Am offline.

137
Games / Re: Champions Online (City of Heroes 2?)
« on: August 09, 2009, 12:12:57 AM »
Looks like a fun game.

138
He said Free, it has to be a scam.

139
Modification Help / Re: My first add on
« on: August 07, 2009, 06:11:34 PM »
What, This has nothing relative to coding at all. This belongs in General Modification Help.

140
Modification Help / Re: Stopping a Play3D
« on: August 07, 2009, 03:42:42 PM »
Odd, this is going to be more complicated then I presumed, thanks for the help. Hopefully I can get a version working by later today.

141
Modification Help / Re: Stopping a Play3D
« on: August 07, 2009, 10:33:39 AM »
As far as I know you can't. See if it returns anything. Make it a music brick and blah.setMusic?
Right, I decided to try it with AlxPlay, and AlxStop.

So far it works great but I've hit a problem with AlxStop, I can not seem to figure out what it means by "Handle",  I've set it up to use the following variables, none seem to stop the previous sound. My code is at the bottom of this post, which includes an example of every peice of code I am using.

Variables:

%play
PERP_Rock_1
PERP_Rock_2
$StationSong[%this.StationID]

Example of AlxStop:

Code: [Select]
alxStop( handle )

Purpose
Use the alxStop function to stop a currently playing sound as specified by handle.
Syntax

handle – The ID (a non-negative integer) corresponding to a previously set up sound source.

Returns
No return value.

See Also
alxIsPlaying, alxPlay, alxStopAll


Code: [Select]

//Radio

$RadioDistance = 30;
$Station[0] = "Off";
$Station[1] = "WPJ";
$Station[2] = "KJR";
$MaxStations = 2;

$StationSong[1] = $CurrentSong[1];
$CurrentSong[1] = "PERP_Rock_1";

$StationSong[2] = $CurrentSong[2];
$CurrentSong[2] = "PERP_Rock_2";

datablock AudioProfile(PERP_Rock_1)
{
   filename    = "Add-ons/Kunit_DarkRP/Sounds/Radio/1/1.wav";
   description = AudioClosest3D;
   preload = true;
};

function GameConnection::NextStation(%client,%this) //Called by the previous func
{
alxStop(//VariablesHere);
%this.StationID += 1;
%play = alxPlay($StationSong[%this.StationID],%this.getPosition());
%client.Dis("\c6Radio: \c0" @ $Station[%this.StationID] @ "");
echo("Next Station!");
}

function GameConnection::StationOff(%client,%this)  //Called by the previous func
{
echo("Radio: Off");
%this.StationID = 0;
%this.IsPlaying = 0;
%client.Dis("\c6Radio: \c0Off!");
return;
}

142
Modification Help / Stopping a Play3D
« on: August 06, 2009, 04:07:41 PM »
How would I go about stopping the following sound. I'm making a radio in which I need it to stop the previously playing or played song so that the songs do not overlap. Is there a already made function or would I have to make one.

Code: [Select]
serverPlay3D(Adjust, %this.getPosition());

143
Off Topic / Re: ON behalf of Darklight
« on: August 06, 2009, 01:17:53 PM »
I'm not going to say anything

osht I just did.
D:

144
Drama / Re: Un-ban Dr Bling?
« on: August 02, 2009, 11:39:55 PM »
Apparently people like to vote without reading Badspot's post, because I'm seeing way too many comments saying "don't unban, cambiogris was such a jerk".

Idiots.
Opinion.

145
Suggestions & Requests / Re: Revive Mod
« on: August 02, 2009, 11:02:42 PM »
Hah, I was making something kinda like this, a Defibrillator for my Paramedic job. If you don't know what it is, the little device paramedics carry that revive you via sending electricity to your heart to "Revive" it.

146
Drama / Re: Cheatmaster- The whiney brat of the forums
« on: August 02, 2009, 10:53:21 PM »
He is offline, rejoice!

147
Drama / Re: Cheatmaster- The whiney brat of the forums
« on: August 02, 2009, 10:40:34 PM »
Youtube videos all around barkeep!

148
Drama / Re: Cheatmaster- The whiney brat of the forums
« on: August 02, 2009, 10:38:32 PM »
Something is wrong, he ceased all posting.

149
Drama / Re: Poll: Should Cheatmaster be banned?
« on: August 02, 2009, 10:34:20 PM »
loving annoying bitch. Shut the forget up.

Kunit issues Mimicing order A43696969forgetup!

loving annoying bitch. Shut the forget up.

150
Drama / Re: Cheatmaster- The whiney brat of the forums
« on: August 02, 2009, 10:32:56 PM »
I'm so glad I'm not related to you.
Whuts up wit chu bro, huw chu ben hangn wit yo

Pages: 1 ... 5 6 7 8 9 [10] 11 12 13 14 15 ... 97