Guest User

Untitled

a guest
Sep 9th, 2013
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. minetest.register_node("modtest:musicblock", {
  2. tiles = {"modtest_explosive.png"},
  3. groups = { crumbly=3, flammable=3, explody=3}
  4. })
  5. if right_click(modtest:musicblock)&& is_player(true) then
  6. string abc = get_player_name()
  7. minetest.sound_play("modtest_song_1", to_player = abc)
  8. end
Advertisement
Add Comment
Please, Sign In to add comment