Hey guys I was just messing around with the shoot command.
Now I used the projectile with the gravity and wanted to ask how i could make it like if the projectile hits the floor again, the player will do something, like say something. I already tried like adding:
PHP Code:
shoot(player.x, player.y, player.z+1, temp.angle, temp.zangle, temp.power, "callipumppetidle", "callipumppet.png");
if (this.z<=0) {
player.chat="YAY";
}
but the player will just say "YAY" when I fire it, not when it lands
