136
Off Topic / Re: Surveillance
« on: August 09, 2009, 12:59:49 AM »
Am offline.
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.
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.
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
//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;
}
serverPlay3D(Adjust, %this.getPosition());
I'm not going to say anythingD:
osht I just did.
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".Opinion.
Idiots.
loving annoying bitch. Shut the forget up.
I'm so glad I'm not related to you.Whuts up wit chu bro, huw chu ben hangn wit yo