[INC] SoundBox by Littlejohny (Version 1.0) -
Littl3j0hNy - 04.03.2009
[INC] SoundBox
by Littlejohny
Hi Community,
With this Include you can Create SoundBoxes.
If you go into the Radius of the SoundBox you can hear Sound.
Example: at LS PD
AddSoundBox(1, 1183, 1552.1064,-1675.5435,16.1441, 0.0,0.0,0.0)
[AddSoundBox(ID, TITELID, X,Y,Z, rX,rY,rZ)]
____________________________________
Name: SoundBox
Version: 1.0
Scripter: Littlejohny
Function: AddSoundBox(ID, TITELID, X,Y,Z, rX,rY,rZ);
Release: 4.3.09
____________________________________
Object ID's of Boxes: 1840, 2229, 2230, 2226, 2231, 2232
____________________________________
Download v1.0: Click
Pastebin: Click
Infos:
You can change the Limit of Boxes in the Include Line 10 !
If you want to add more than 998 Boxes change the 999 in the Include Line 11 to -1 !
You can change the Radius in the Include Line 34 !
Please put this Functions into your Script:
Code:
SoundBoxInit(); - Under GameModeInit
SoundBoxExit(); - Under GameModeExit
____________________________________
Please report Bugs ! Thanks !
And please give Credits
-
Mfg LJ
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
Dark_BasS - 04.03.2009
Nice job Lj.
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
Littl3j0hNy - 04.03.2009
Thanks ^^
- LJ
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
Synkro93 - 04.03.2009
Nice, may be usable for even rp - stereo system on/off
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
Rks25 - 04.03.2009
U can arrange a movie?
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
Littl3j0hNy - 04.03.2009
Quote:
Originally Posted by Rks_
U can arrange a movie?
|
Hmm, i think no, but if you want to make a Movie
Create it and send me over MSN ^^
- LJ
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
RyDeR` - 04.03.2009
hehe thanks
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
Littl3j0hNy - 05.03.2009
Hi,
No problem ^^
- LJ
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
DauerDicht - 05.03.2009
can i hear my own music if the music is on webserver?
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
Littl3j0hNy - 05.03.2009
Quote:
Originally Posted by DauerDicht
can i hear my own music if the music is on webserver?
|
You can only hear the Sounds of GTA
Look here for the Sound Id's:
https://sampwiki.blast.hk/wiki/SoundID
- LJ
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
DauerDicht - 05.03.2009
what a shame... but thx!
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
1337connor - 05.03.2009
Nice, Does this mean you can play any sound? Like Music? That would be SWEET.
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
Norn - 05.03.2009
Pity changing volumes not possible.
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
Littl3j0hNy - 06.03.2009
Quote:
Originally Posted by 1337connor
Nice, Does this mean you can play any sound? Like Music? That would be SWEET.
|
Hi,
You can play only GTA Sounds, a List of the Sound ID's you can find on SA:MP Wiki.
- LJ
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
Magician - 06.03.2009
I suggest you to put INVALID_BOX_ID to -1, so there could be more than 998 b0x3z.
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
Littl3j0hNy - 06.03.2009
Quote:
Originally Posted by Magician
I suggest you to put INVALID_BOX_ID to -1, so there could be more than 998 b0x3z.
|
Yeah, but i don' think, that anybody adds 998 Boxes ^^
- LJ
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
Magician - 06.03.2009
No shit sherlock, I already added ~300 boxes in less than day
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
Littl3j0hNy - 06.03.2009
Quote:
Originally Posted by Magician
No shit sherlock, I already added ~300 boxes in less than day 
|
OK, will add a Comment at the first Post !
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
loT4r - 06.03.2009
This is faking great! Thanks man!
Re: [INC] SoundBox by Littlejohny (Version 1.0) -
tatane_speed - 10.03.2009
I can't use this INC

i was added:
AddSoundBox(1, 1183, 2167.2605,1025.8525,10.9766, 0.0,0.0,0.0);
In OnGameModeInit but the song didn't play when i go to the soudbox
Can someone help me pleazeeeee!!