[SOLVED] Coding problems

  if(app.keyboard.wasPessed(pc.input.KEY_P));
    this.entity.rotateLocal(0,3,0);
    this.entity.sound('zi');

What problems are you having?

Your ‘if’ statement will do nothing since it is immediately followed by a semi-colon and you have not specified braces to contain the following statements. You also probably want to be calling the play function on the sound component. You maybe want this instead:

    if (app.keyboard.wasPessed(pc.KEY_P)) {
        this.entity.rotateLocal(0, 3, 0);
        this.entity.sound.play('zi');
    }

As @yaustar indicates, you really must clearly specify your question if you want people to be able to help you.