[Include] [INC] SoundBox by Littlejohny (Version 1.0)
#1

[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
Reply
#2

Nice job Lj.
Reply
#3

Thanks ^^

- LJ
Reply
#4

Nice, may be usable for even rp - stereo system on/off
Reply
#5

U can arrange a movie?
Reply
#6

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
Reply
#7

hehe thanks
Reply
#8

Hi,
No problem ^^

- LJ
Reply
#9

can i hear my own music if the music is on webserver?
Reply
#10

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
Reply
#11

what a shame... but thx!
Reply
#12

Nice, Does this mean you can play any sound? Like Music? That would be SWEET.
Reply
#13

Pity changing volumes not possible.
Reply
#14

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
Reply
#15

I suggest you to put INVALID_BOX_ID to -1, so there could be more than 998 b0x3z.
Reply
#16

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
Reply
#17

No shit sherlock, I already added ~300 boxes in less than day
Reply
#18

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 !
Reply
#19

This is faking great! Thanks man!
Reply
#20

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!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)