| Blockland Forums > Modification Help |
| Play Sound in a Car |
| << < (2/3) > >> |
| joey888joey:
--- Quote from: Kalphiter on June 24, 2010, 10:54:22 AM ---If you press space bar then what do you have for a brake? --- End quote --- Or if you click, something like that, but how would I make it so when you do that it would play a sound, and not a radio, a .wav and have it loop. |
| Kobewarrior:
There was an add-on, so when you went in a vehicle, you type /radio and you choose a list of all the server's music. Ogg files. |
| Kalphiter:
--- Quote from: Kobewarrior on June 24, 2010, 12:13:21 PM ---There was an add-on, so when you went in a vehicle, you type /radio and you choose a list of all the server's music. Ogg files. --- End quote --- /stereo http://forum.blockland.us/index.php?topic=74002.0 |
| joey888joey:
--- Quote from: Kobewarrior on June 24, 2010, 12:13:21 PM ---There was an add-on, so when you went in a vehicle, you type /radio and you choose a list of all the server's music. Ogg files. --- End quote --- No, I want to develop a car add-on that is a cop car, what do I have to add to the script to make it do that? Look at the diagram below: Space Pressed > Play .wav File (Looping) > Press Space Again > Stop Playback All what I need is the portion of the script that I have to put in the server.cs or whatever file it is. |
| Kobewarrior:
--- Quote from: Kalphiter on June 24, 2010, 12:13:57 PM ---/stereo http://forum.blockland.us/index.php?topic=74002.0 --- End quote --- Ohey, iv been looking for that. Thanks Kalphiter. |
| Navigation |
| Message Index |
| Next page |
| Previous page |