Difference between revisions of "Disk.playAudio"
From ComputerCraft Wiki
Scarfacial (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=disk.playAudio |args=string side |api=disk |addon=ComputerCraft |examples= {{Example |desc=Plays the audio found on the disk o...") |
Scarfacial (Talk | contribs) |
||
| Line 8: | Line 8: | ||
{{Example | {{Example | ||
|desc=Plays the audio found on the disk on the bottom drive (if any) | |desc=Plays the audio found on the disk on the bottom drive (if any) | ||
| − | |code=print(disk. | + | |code=print(disk.playAudio("bottom")) |
}} | }} | ||
}} | }} | ||
Revision as of 12:22, 26 February 2012
| No description provided. | |
| Syntax | disk.playAudio(string side) |
| Returns | nil |
| Part of | ComputerCraft |
| API | disk |
Examples
| Plays the audio found on the disk on the bottom drive (if any) | |
| Code |
print(disk.playAudio("bottom"))
|