1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved Place blocks on death

Discussion in 'Development' started by Defications2po, Jun 8, 2017.

  1. Defications2po

    Defications2po Witch

    Messages:
    51
    i know you can use PlayerDeathEvent (if thtas a thing) .
    But can someone help me with code that places blocks on the grounds when a player dies.
     
  2. Junkdude

    Junkdude Zombie

    Messages:
    346
    GitHub:
    JunkDaCoder
    search the pmmp api for setBlock
     
  3. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    You can use setBlock or sendBlocks, depending on your situation. Without any more details, it's impossible to give a specific example.
     
  4. Defications2po

    Defications2po Witch

    Messages:
    51
    THX YOU SO MUCH
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.